Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 61) sorted by relevance

123

/plugin/authgoogle/google/io/
DGoogle_CacheParser.php32 * @param Google_HttpRequest $resp
36 public static function isRequestCacheable (Google_HttpRequest $resp) { argument
37 $method = $resp->getRequestMethod();
46 if ($resp->getRequestHeader("authorization")) {
57 * @param Google_HttpRequest $resp
61 public static function isResponseCacheable (Google_HttpRequest $resp) { argument
64 if (false == self::isRequestCacheable($resp)) {
68 $code = $resp->getResponseHttpCode();
75 $etag = $resp->getResponseHeader("etag");
76 if (self::isExpired($resp) && $etag == false) {
[all …]
/plugin/stopforumspam/_test/
DResponseCheckerTest.php21 $resp = new Response();
22 $json = json_encode($resp);
38 $resp = new Response(null, new ResponseCategory(10, 25.0), null);
39 $json = json_encode($resp);
49 $resp = new Response(null, new ResponseCategory(10, 9.7), null);
50 $json = json_encode($resp);
60 $resp = new Response(new ResponseCategory(10, 25.0), null, null);
61 $json = json_encode($resp);
71 $resp = new Response(new ResponseCategory(10, 9.7), null, null);
72 $json = json_encode($resp);
[all …]
/plugin/diagramsnet/lib/js/diagramly/
DDriveClient.js268 var fallback = mxUtils.bind(this, function(resp) argument
283 }), mxUtils.bind(this, function(resp) argument
288 if (resp != null && resp.error != null)
290 if (resp.error.code == 403 &&
291 resp.error.data != null && resp.error.data.length > 0 &&
292 resp.error.data[0].reason == 'domainPolicy')
294 msg = resp.error.message;
402 var resp;
406 resp = JSON.parse(req.getText());
410 resp = null;
[all …]
DDriveFile.js77 mxUtils.bind(this, function(resp) argument
79 if (resp != null && resp.items != null)
81 for (var i = 0; i < resp.items.length; i++)
83 if (resp.items[i].id === 'anyoneWithLink' ||
84 resp.items[i].id === 'anyone')
188 this.ui.drive.saveFile(this, realRevision, mxUtils.bind(this, function(resp, savedData) argument
196 if (resp != false)
210 this.desc = resp;
222 success(resp);
228 success(resp);
[all …]
DOneDriveLibrary.js32 this.ui.oneDrive.saveFile(this, mxUtils.bind(this, function(resp) argument
34 this.desc = resp;
38 success(resp);
DDriveLibrary.js32 this.ui.drive.saveFile(this, revision, mxUtils.bind(this, function(resp) argument
34 this.desc = resp;
38 success(resp);
DNotionClient.js345 }), 'POST', mxUtils.bind(this, function(resp) argument
347 if (resp.results.length == 0)
359 fn(true, resp.results[0].id);
391 data, 'PATCH', mxUtils.bind(this, function(resp) argument
393 success(resp, data);
663 JSON.stringify(reqBody), 'POST', mxUtils.bind(this, function(resp) argument
678 var files = resp.results;
715 if (resp.has_more)
717 nextCursor = resp.next_cursor;
768 null, 'GET', mxUtils.bind(this, function(resp) argument
[all …]
DDriveComment.js29 mxUtils.bind(this, function(resp) argument
31 success(resp.replyId); //pass comment id
/plugin/sfauth/
Dhelper.php163 $resp = $json->decode($http->resp_body);
166 if($resp[0]['errorCode'] == 'INVALID_SESSION_ID') {
179 return $resp;
233 $resp = $http->post($url, $data);
235 if($resp === false) return false;
238 $resp = $json->decode($resp);
239 $resp['access_token'] = 'OAuth ' . $resp['access_token'];
241 $this->authdata = $resp;
263 $resp = $http->post($url, array());
264 if($resp === false) return false;
[all …]
/plugin/fckg/fckeditor/editor/dialog/
Dget_headers.php16 $resp = ""; variable
33 $resp .= trim($matches[1]) . $suffix_header . ";;" ;
34 $resp .= cleanID($matches[1]). $suffix_anchor . "@@" ;
39 $resp = rtrim($resp,'@'); variable
40 echo rawurlencode($resp);
/plugin/xcom/scripts/
Dxcom_save.php143 …$resp = $this->xcom_get_data( 'wiki.putPage',$this->localClient,false, array($this->page,$this->da…
145 if(!$resp) {
172 while(!($resp = call_user_func_array(array($client,"query"),$params))){
173 if($resp) echo "resp=$resp\n";
221 $resp = $client->query('dokuwiki.login',$user,$pwd);
230 $resp =$this->xcom_get_data( 'dokuwiki.getVersion',$this->localClient,false,false);
231 $this->msg('localdw', false," $resp\n");
232 preg_match('/(\d+)-\d+-\d+/',$resp,$matches);
234 $this->msg('logoff',false, " $resp\n");
239 $resp =$this->xcom_get_data( 'dokuwiki.getVersion',$this->remoteClient,false,false);
[all …]
Dxml.php35 $resp = ""; variable
63 while(!($resp = call_user_func_array(array($client,"query"),$params))){ variable
73 $resp = print_r($resp,1); variable
75 $retv = "retv: $_retv resp: $resp";
/plugin/ckgdoku/ckeditor/
Dget_headers.php27 $resp = ""; variable
44 $resp .= trim($matches[1]) . $suffix_header . ";;" ;
45 $resp .= cleanID($matches[1]). $suffix_anchor . "@@" ;
50 $resp = rtrim($resp,'@'); variable
51 echo rawurlencode($resp);
/plugin/ckgedit/ckeditor/
Dget_headers.php35 $resp = ""; variable
52 $resp .= trim($matches[1]) . $suffix_header . ";;" ;
53 $resp .= cleanID($matches[1]). $suffix_anchor . "@@" ;
58 $resp = rtrim($resp,'@'); variable
59 echo rawurlencode($resp);
/plugin/scrape/
Dsyntax.php91 $resp = $http->get($data['url']);
93 if (!$resp) {
109 $resp = utf8_encode($resp); // we just assume it to be latin1
114 $R->doc .= $this->cleanHTML($data, $resp);
119 $R->preformatted($resp);
129 private function cleanHTML($data, $resp) argument
135 $doc->html($resp);
/plugin/badbehaviour/
Dadmin.php82 $resp = bb2_get_response($code);
91 echo $resp['log'];
112 $resp = bb2_get_response($code);
114 $ip,$resp['log'],$resp['explanation'],hsc($key));
123 $resp = bb2_get_response($fields[6]);
131 echo '<td>'.$resp['log'].'</td>';
/plugin/freechat/phpfreechat/data/public/js/
Dpfcclient.js176 handleResponse: function(cmd, resp, param) argument
188 trace('handleResponse: '+cmd + "-"+resp+"-"+param2.inspect());
194 trace('handleResponse: '+cmd + "-"+resp+"-"+param2.inspect());
200 trace('handleResponse: '+cmd + "-"+resp+"-"+param2.inspect());
203 trace('handleResponse: '+cmd + "-"+resp+"-"+param);
221 if (resp == "ok")
235 if (resp =="ok")
245 if (resp =="ok")
255 else if (resp == "max_channels")
260 alert(cmd + "-"+resp+"-"+param);
[all …]
/plugin/davcal/vendor/sabre/dav/bin/
H A Dgooglecode_upload.py100 resp = server.getresponse()
103 if resp.status == 201:
104 location = resp.getheader('Location', None)
107 return resp.status, resp.reason, location
/plugin/recaptcha/
Dhelper.php31 $resp = recaptcha_check_answer ($this->getConf('privatekey'),
36 return $resp;
/plugin/recaptcha2/
Dhelper.php33 $resp = $recaptcha->verify($_POST['g-recaptcha-response'], $_SERVER['REMOTE_ADDR']);
34 return $resp;
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/
Dbackbone.js599 options.success = function(resp) { argument
600 var serverAttrs = options.parse ? model.parse(resp, options) : resp;
602 if (success) success.call(options.context, model, resp, options);
603 model.trigger('sync', model, resp, options);
639 options.success = function(resp) {
642 var serverAttrs = options.parse ? model.parse(resp, options) : resp;
645 if (success) success.call(options.context, model, resp, options);
646 model.trigger('sync', model, resp, options);
677 options.success = function(resp) {
679 if (success) success.call(options.context, model, resp, options);
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/
DOAuth2.php408 $resp = $this->jwtDecode($idToken, $publicKey, $allowed_algs);
409 if (!property_exists($resp, 'aud')) {
412 if ($resp->aud != $this->getAudience()) {
416 return $resp;
575 * @param ResponseInterface $resp the response.
579 public function parseTokenResponse(ResponseInterface $resp) argument
581 $body = (string)$resp->getBody();
582 if ($resp->hasHeader('Content-Type') &&
583 $resp->getHeaderLine('Content-Type') == 'application/x-www-form-urlencoded'
/plugin/questionnaire/
Ddl.php41 $resp = $db->query('SELECT * FROM answers WHERE page = ? ORDER BY answered_on, answered_by', $ID); variable
43 while ($row = $resp->fetch(PDO::FETCH_ASSOC)) {
/plugin/mtg/
Dsyntax.php74 $resp = file_get_contents($url);
75 $obj = json_decode($resp, true);
/plugin/linkback/action/
Dakismet.php77 $resp = $this->_submitData('comment-check', $data);
78 if ($resp == 'true')

123