Home
last modified time | relevance | path

Searched refs:response (Results 51 – 75 of 925) sorted by relevance

12345678910>>...37

/plugin/openid/Auth/Yadis/
H A DYadis.php348 $response = $fetcher->get($uri, $headers);
350 if (!$response || ($response->status != 200 and
351 $response->status != 206)) {
356 $result->normalized_uri = $response->final_url;
358 $response->headers,
367 $response->headers,
372 $yadis_location = $parser->getHTTPEquiv($response->body);
378 $response = $fetcher->get($yadis_location);
380 if ((!$response) || ($response->status != 200 and
381 $response->status != 206)) {
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DMiddleware.php37 function ($response) use ($cookieJar, $request) {
38 $cookieJar->extractCookies($request, $response);
39 return $response;
60 function (ResponseInterface $response) use ($request) {
61 $code = $response->getStatusCode();
63 return $response;
132 $response = $handler($request, $options);
134 $after($request, $options, $response);
136 return $response;
193 return $response;
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/
H A DAbstractBasicTest.php15 $response = new HTTP\Response();
20 $backend->check($request, $response)[0]
31 $response = new HTTP\Response();
36 $backend->check($request, $response)[0]
47 $response = new HTTP\Response();
52 $backend->check($request, $response)
60 $response = new HTTP\Response();
64 $backend->challenge($request, $response);
68 $response->getHeader('WWW-Authenticate')
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DHttpHeadTest.php35 $response = $this->request($request);
37 $this->assertEquals(200, $response->getStatus());
40 $response->removeHeader('Last-Modified');
49 $response->getHeaders()
52 $this->assertEquals('', $response->getBodyAsString());
64 $response = $this->request($request);
66 $this->assertEquals(200, $response->getStatus());
89 $response = $this->request($request);
91 $this->assertEquals(200, $response->getStatus());
H A DServerSimpleTest.php56 ],$this->response->getHeaders());
58 $this->assertEquals(200, $this->response->status);
59 $this->assertEquals('', $this->response->body);
77 ],$this->response->getHeaders());
79 $this->assertEquals(200, $this->response->status);
80 $this->assertEquals('', $this->response->body);
98 ],$this->response->getHeaders());
126 $this->response->getHeaders()
377 ],$this->response->getHeaders());
405 $this->response->getHeaders()
[all …]
/plugin/letsencrypt/classes/
H A DClient.php34 $response = $this->http->post($url, $fields);
35 if($response === false) $response = $this->http->resp_body;
36 $data = json_decode($response, true);
37 return $data === null ? $response : $data;
46 $response = $this->http->get($url);
47 if($response === false) $response = $this->http->resp_body;
48 $data = json_decode($response, true);
49 return $data === null ? $response : $data;
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DIssue205Test.php79 $response = $this->request($request);
81 …$this->assertFalse(strpos($response->body, '<s:exception>Exception</s:exception>'), 'Exception occ…
82 …$this->assertFalse(strpos($response->body, 'Unknown or bad format'), 'DateTime unknown format Exce…
86 $response->body,
87 $start = strpos($response->body, 'BEGIN:VCALENDAR'),
88 strpos($response->body, 'END:VCALENDAR') - $start + 13
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DSapiTest.php94 $response = new Response(204, ['Content-Type' => 'text/xml;charset=UTF-8']);
97 $response->addHeader('Content-Type', 'application/xml');
98 $response->setBody('foo');
102 Sapi::sendResponse($response);
126 $response = new Response(200);
128 $response->addHeader('Content-Length', 19);
129 $response->setBody('Send this sentence. Ignore this one.');
133 Sapi::sendResponse($response);
148 $response = new Response(200, ['Content-Length' => 19]);
154 $response->setBody($body);
[all …]
H A DClientTest.php227 $response = new Response(404);
229 $response = new Response(200);
241 $response = $client->send($request);
244 $this->assertEquals(200, $response->getStatus());
338 $response = $client->doRequest($request);
339 $this->assertEquals(200, $response->getStatus());
401 function parseCurlResult($response, $curlHandle) { argument
415 $response = null;
416 $this->emit('doRequest', [$request, &$response]);
419 if (is_null($response)) {
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
H A DMockHandler.php75 $response = array_shift($this->queue);
82 $options['on_headers']($response);
85 $response = new RequestException($msg, $request, $response, $e);
89 if (is_callable($response)) {
90 $response = call_user_func($response, $request, $options);
93 $response = $response instanceof \Exception
94 ? \GuzzleHttp\Promise\rejection_for($response)
95 : \GuzzleHttp\Promise\promise_for($response);
97 return $response->then(
186 ResponseInterface $response = null, argument
[all …]
/plugin/webdav/vendor/sabre/dav/lib/DAV/Mount/
H A DPlugin.php45 * @param ResponseInterface $response
48 function httpGet(RequestInterface $request, ResponseInterface $response) { argument
58 $this->davMount($response, $currentUri);
68 * @param ResponseInterface $response
72 function davMount(ResponseInterface $response, $uri) { argument
74 $response->setStatus(200);
75 $response->setHeader('Content-Type', 'application/davmount+xml');
81 $response->setBody(ob_get_clean());
/plugin/davcal/vendor/sabre/dav/lib/DAV/Mount/
H A DPlugin.php45 * @param ResponseInterface $response
48 function httpGet(RequestInterface $request, ResponseInterface $response) { argument
58 $this->davMount($response, $currentUri);
68 * @param ResponseInterface $response
72 function davMount(ResponseInterface $response, $uri) { argument
74 $response->setStatus(200);
75 $response->setHeader('Content-Type', 'application/davmount+xml');
81 $response->setBody(ob_get_clean());
/plugin/pwaoffline/
H A Dsw.js89 return fromNetwork(request, 400).then(function (response) { argument
90 if (response.headers.has('X-DWPLUGIN-PWAOFFLINE-ACT') &&
93 return response;
96 cache.put(request, response.clone());
97 return response;
106 return cacheResponse || fetch(request).then(function (response) { argument
108 cache.put(request, response.clone());
109 return response;
118 fetch(request).then(function (response) { argument
120 if (response.status >= 500) {
[all …]
/plugin/authgooglesheets/vendor/google/auth/src/HttpHandler/
H A DGuzzle5HttpHandler.php55 $response = $this->client->send(
59 return $this->createPsr7Response($response);
97 function (Guzzle5ResponseInterface $response) {
99 return $this->createPsr7Response($response);
119 private function createPsr7Response(Guzzle5ResponseInterface $response) argument
122 $response->getStatusCode(),
123 $response->getHeaders() ?: [],
124 $response->getBody(),
125 $response->getProtocolVersion(),
126 $response->getReasonPhrase()
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php580 if ($response === false) {
600 if ($response === false) {
619 while (!empty($response)) {
809 * @param string $response
943 $this->logError($response);
1085 $this->logError($response);
1502 $this->logError($response);
1572 $this->logError($response);
2484 $response = null;
3022 * @param string $response
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DLdapMessageResponse.php20 * The LDAP Message envelope PDU. This represents a message as a response from LDAP.
30 protected $response;
34 * @param ResponseInterface $response
37 public function __construct(int $messageId, ResponseInterface $response, Control ...$controls)
39 $this->response = $response;
48 return $this->response;
56 return $this->response->toAsn1();
29 protected $response; global() variable in FreeDSx\\Ldap\\Protocol\\LdapMessageResponse
36 __construct(int $messageId, ResponseInterface $response, Control...$controls) global() argument
/plugin/fedauth/Auth/OpenID/
H A DServer.php421 return $response;
671 return $response;
700 return $response;
1123 return $response;
1340 function sign($response) argument
1342 $signed_response = $response;
1451 function encode($response) argument
1472 if(isset($response->code)) {
1495 function encode($response) argument
1510 $response = $this->signatory->sign($response);
[all …]
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/
H A DPlugin.php127 * @param ResponseInterface $response
130 function beforeMethod(RequestInterface $request, ResponseInterface $response) { argument
150 $authResult = $this->check($request, $response);
167 $this->challenge($request, $response);
188 * @param ResponseInterface $response
191 function check(RequestInterface $request, ResponseInterface $response) { argument
201 $response
229 * @param ResponseInterface $response
232 function challenge(RequestInterface $request, ResponseInterface $response) { argument
235 $backend->challenge($request, $response);
/plugin/authfacebook/lib/FileUpload/
H A DFacebookResumableUploader.php91 $response = $this->sendUploadRequest($endpoint, $params);
93 … FacebookTransferChunk($file, $response['upload_session_id'], $response['video_id'], $response['st…
117 $response = $this->sendUploadRequest($endpoint, $params);
128 …le(), $chunk->getUploadSessionId(), $chunk->getVideoId(), $response['start_offset'], $response['en…
148 $response = $this->sendUploadRequest($endpoint, $params);
150 return $response['success'];
/plugin/semanticdata/phpSesame/
H A DphpSesame.php87 throw new Exception ('Phesame engine response error');
174 throw new Exception ('Failed to run query, HTTP response error: ' . $response->getStatus());
210 throw new Exception ('Failed to run query, HTTP response error: ' . $response->getStatus());
238 …throw new Exception ('Failed to append data to the repository, HTTP response error: ' . $response-…
277 …throw new Exception ('Failed to append data to the repository, HTTP response error: ' . $response-…
330 throw new Exception ('Failed to run query, HTTP response error: ' . $response->getStatus());
358 …throw new Exception ('Failed to set the namespace, HTTP response error: ' . $response->getStatus()…
381 …throw new Exception ('Failed to delete the namespace, HTTP response error: ' . $response->getStatu…
403 throw new Exception ('Failed to run query, HTTP response error: ' . $response->getStatus());
426 throw new Exception ('Failed to run query, HTTP response error: ' . $response->getStatus());
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ClientProtocolHandler/
H A DClientSaslBindHandler.php86 /** @var LdapMessageResponse $response */
87 $response = $queue->getMessage($message->getMessageId());
88 $saslResponse = $response->getResponse();
91 'Expected a bind response during a SASL bind. But got: %s',
96 return $response;
98 $response = $this->processSaslChallenge($request, $queue, $saslResponse, $mech);
101 && $response !== null
102 && $response->getResponse() instanceof BindResponse
103 && $response->getResponse()->getResultCode() === ResultCode::SUCCESS
108 return $response;
153 isChallengeComplete(SaslContext $context, BindResponse $response) global() argument
[all...]
/plugin/webdav/vendor/sabre/dav/lib/DAV/Auth/Backend/
H A DAbstractDigest.php92 * @param ResponseInterface $response
95 function check(RequestInterface $request, ResponseInterface $response) { argument
100 $response
147 * @param ResponseInterface $response
150 function challenge(RequestInterface $request, ResponseInterface $response) { argument
155 $response
159 $oldStatus = $response->getStatus() ?: 200;
164 $response->setStatus($oldStatus);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/
H A DPlugin2Test.php45 $response = $this->request($request);
46 $this->assertEquals(201, $response->getStatus(), $response->getBodyAsString());
57 'If' => '(' . $response->getHeader('Lock-Token') . ')',
60 $response = $this->request($request);
61 $this->assertEquals(204, $response->getStatus(), $response->getBodyAsString());
/plugin/elasticsearch/vendor/ruflin/elastica/src/Exception/Bulk/Response/
H A DActionException.php16 public function __construct(BulkResponse $response) argument
18 $this->_response = $response;
20 parent::__construct($this->getErrorMessage($response));
33 public function getErrorMessage(BulkResponse $response): string argument
35 $error = $response->getError();
36 $opType = $response->getOpType();
37 $data = $response->getData();
/plugin/openid/Auth/OpenID/
H A DServer.php470 return $response;
758 return $response;
787 return $response;
1242 return $response;
1484 function sign($response) argument
1612 function encode($response) argument
1633 if(isset($response->code)) {
1667 function encode($response) argument
1682 $response = $this->signatory->sign($response);
1796 if ($response !== null) {
[all …]

12345678910>>...37