Home
last modified time | relevance | path

Searched refs:response (Results 26 – 50 of 925) sorted by relevance

12345678910>>...37

/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DRedirectMiddleware.php79 * @param ResponseInterface $response
86 ResponseInterface $response argument
89 || !$response->hasHeader('Location')
91 return $response;
101 $response,
114 $response->getStatusCode()
169 * @param ResponseInterface $response
176 ResponseInterface $response argument
225 * @param ResponseInterface $response
232 ResponseInterface $response, argument
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DHttpMoveTest.php36 $response = $this->request($request);
47 $response = $this->request($request);
48 $this->assertEquals(201, $response->getStatus(), print_r($response,true));
59 $response = $this->request($request);
60 $this->assertEquals(204, $response->getStatus(), print_r($response,true));
72 $response = $this->request($request);
73 $this->assertEquals(204, $response->getStatus(), print_r($response,true));
85 $response = $this->request($request);
86 $this->assertEquals(412, $response->getStatus(), print_r($response,true));
111 $response = $this->request($request);
[all …]
H A DServerCopyMoveTest.php11 private $response; variable in Sabre\\DAV\\ServerCopyMoveTest
19 $this->response = new HTTP\ResponseMock();
25 $this->server->httpResponse = $this->response;
64 …is->assertEquals(204, $this->response->status, 'Received an incorrect HTTP status. Full body inspe…
69 $this->response->getHeaders()
110 $this->response->getHeaders()
146 …$this->assertEquals(201, $this->response->status, 'Full response: ' . $this->response->getBody(tru…
152 $this->response->getHeaders()
175 $this->response->getHeaders()
195 …$this->assertEquals(201, $this->response->status, 'Incorrect status received. Full response body: …
[all …]
H A DServerRangeTest.php37 $this->response->getHeaders()
40 $this->assertEquals(206, $this->response->status);
69 $this->response->getHeaders()
72 $this->assertEquals(206, $this->response->status);
101 $this->response->getHeaders()
104 $this->assertEquals(206, $this->response->status);
124 $this->assertEquals(416, $this->response->status);
174 $this->response->getHeaders()
208 $this->response->getHeaders()
243 $this->response->getHeaders()
[all …]
/plugin/authfacebook/lib/
H A DFacebookBatchResponse.php51 * @param FacebookResponse $response
57 $request = $response->getRequest();
58 $body = $response->getBody();
59 $httpStatusCode = $response->getHttpStatusCode();
60 $headers = $response->getHeaders();
63 $responses = $response->getDecodedBody();
96 * @param array|null $response
98 public function addResponse($key, $response) argument
103 $httpResponseBody = isset($response['body']) ? $response['body'] : null;
104 $httpResponseCode = isset($response['code']) ? $response['code'] : null;
[all …]
/plugin/webdav/vendor/sabre/http/lib/
H A DClientHttpException.php22 protected $response; variable in Sabre\\HTTP\\ClientHttpException
27 * @param ResponseInterface $response
29 function __construct(ResponseInterface $response) { argument
31 $this->response = $response;
32 parent::__construct($response->getStatusText(), $response->getStatus());
43 return $this->response->getStatus();
54 return $this->response;
H A DClient.php160 throw new ClientHttpException($response);
163 return $response;
353 $response = $this->parseCurlResult($response, $this->curlHandle);
356 throw new ClientException($response['curl_errmsg'], $response['curl_errno']);
359 return $response['response'];
474 * @param string $response
500 unset($response);
513 $response = new Response();
523 $response->setBody($responseBody);
525 $httpCode = intval($response->getStatus());
[all …]
/plugin/davcal/vendor/sabre/http/lib/
H A DClientHttpException.php22 protected $response; variable in Sabre\\HTTP\\ClientHttpException
27 * @param ResponseInterface $response
29 function __construct(ResponseInterface $response) { argument
31 $this->response = $response;
32 parent::__construct($response->getStatusText(), $response->getStatus());
43 return $this->response->getStatus();
54 return $this->response;
H A DClient.php103 $code = (int)$response->getStatus();
158 throw new ClientHttpException($response);
161 return $response;
351 $response = $this->parseCurlResult($response, $this->curlHandle);
354 throw new ClientException($response['curl_errmsg'], $response['curl_errno']);
357 return $response['response'];
472 * @param string $response
498 unset($response);
511 $response = new Response();
521 $response->setBody($responseBody);
[all …]
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Client/
H A DCurlFactory.php23 * response body handle.
58 * Creates a response hash from a cURL result.
62 * @param array $response Response hash to update.
64 * @param resource $body Body fopen response.
71 array $response, argument
75 if (isset($response['transfer_stats']['url'])) {
76 $response['effective_url'] = $response['transfer_stats']['url'];
82 $response['headers'] = $headerList;
83 $response['versio
98 createErrorResponse(callable $handler, array $request, array $response) global() argument
526 retryFailedRewind(callable $handler, array $request, array $response) global() argument
[all...]
/plugin/authgoogle/google/service/
H A DGoogle_BatchRequest.php60 $response = Google_Client::$io->makeRequest($httpRequest);
62 $response = $this->parseResponse($response);
63 return $response;
66 public function parseResponse(Google_HttpRequest $response) { argument
77 $body = $response->getResponseBody();
94 $response = new Google_HttpRequest("");
95 $response->setResponseHttpCode($status);
96 $response->setResponseHeaders($partHeaders);
97 $response->setResponseBody($partBody);
98 $response = Google_REST::decodeHttpResponse($response);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DExpandEventsFloatingTimeTest.php93 $response = $this->request($request);
97 $response->body,
98 $start = strpos($response->body, 'BEGIN:VCALENDAR'),
99 strpos($response->body, 'END:VCALENDAR') - $start + 13
140 $response = $this->request($request);
142 $this->assertEquals(207, $response->getStatus());
146 $response->body,
147 $start = strpos($response->body, 'BEGIN:VCALENDAR'),
178 $response = $this->request($request);
180 $this->assertEquals(200, $response->getStatus());
[all …]
H A DPluginTest.php22 protected $response; variable in Sabre\\CalDAV\\PluginTest
95 $this->response = new HTTP\ResponseMock();
96 $this->server->httpResponse = $this->response;
121 …$this->assertEquals(501, $this->response->status,'Incorrect status returned. Full response body:' …
350 …$this->assertEquals(201, $this->response->status,'Invalid response code received. Full response bo…
399 …$this->assertEquals(201, $this->response->status,'Invalid response code received. Full response bo…
643 …$this->assertEquals(207, $this->response->status,'Invalid HTTP status received. Full response body…
705 …$this->assertEquals(207, $this->response->status,'Received an unexpected status. Full response bod…
768 …$this->assertEquals(207, $this->response->status,'Received an unexpected status. Full response bod…
1059 …$this->assertEquals(400, $this->response->status,'Invalid HTTP status received. Full response body…
[all …]
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Mechanism/
H A DDigestMD5Mechanism.php81 * Generates the computed response value. RFC2831 2.1.2.1
100 public static function computeResponse(string $password, Message $challenge, Message $response, bool $useServerMode = false): string argument
102 $a1 = self::computeA1($password, $challenge, $response);
104 $qop = $response->get('qop');
105 $digestUri = $response->get('digest-uri');
121 str_pad(dechex($response->get('nc')), 8, '0', STR_PAD_LEFT),
122 $response->get('cnonce'),
123 $response->get('qop'),
140 public static function computeA1(string $password, Message $challenge, Message $response): string argument
144 $response
[all...]
/plugin/bookcreator/action/
H A Dhandleselection.php54 $response = $this->retrievePageInfo($this->getPOSTedSelection());
58 $response = $this->saveSelection($title, $this->getPOSTedSelection());
62 $response = $this->loadSavedSelection($page);
66 $response = $this->deleteSavedSelection($page);
71 $response = $this->searchPages($namespace, $recursive);
74 $response['error'] = 'unknown action ';
77 $response['error'] = $e->getMessage();
81 echo json_encode($response);
106 $response['selection'] = array();
112 $response['selectio
[all...]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DResponse.php45 * HTTP response status code.
114 $response = $this->getData();
116 return $response['error'] ?? null;
128 * True if response has error.
130 * @return bool True if response has error
134 $response = $this->getData();
136 return isset($response['error']);
140 * True if response has failed shards.
142 * @return bool True if response has failed shards
211 $response
[all...]
/plugin/bugzillaxmlrpc/
H A Dsyntax.php79 $response = xmlrpc_decode($server_output);
80 if ( empty($response) ) {
84 return array(0, $response['faultString'], $response['faultCode'], $response['id']);
108 if (xmlrpc_is_fault($response))
109 return array(1, $response[faultString], $response[faultCode], $id);
110 $v = $response['bugs'][0];
114 return array(1, $response[faultString], $response[faultCode], $id);
116 return array(0, $response[faultString], $response[faultCode],
143 if (xmlrpc_is_fault($response))
144 return array(1, $response[faultString], $response[faultCode]);
[all …]
/plugin/pureldap/vendor/freedsx/sasl/src/FreeDSx/Sasl/Factory/
H A DDigestMD5MessageFactory.php98 throw new SaslException('The server response must include the rspauth value.');
109 $response = new Message();
112 $response->set('algorithm', 'md5-sess');
113 $response->set('nonce', $challenge->get('nonce'));
114 $response->set('cnonce', $options['cnonce'] ?? $this->generateNonce($options['nonce_size'] ?? self::NONCE_SIZE));
115 $response->set('nc', $options['nc'] ?? 1);
116 $response->set('qop', $this->selectQopFromChallenge($challenge, $qop));
117 $response->set('username', $options['username'] ?? $this->getCurrentUser());
118 $response->set('realm', $options['realm'] ?? $this->getRealmFromChallenge($challenge));
119 $response
130 getDigestUri(array $options, Message $response, Message $challenge) global() argument
211 setCipherForChallenge(array $options, Message $response, Message $challenge) global() argument
[all...]
/plugin/tagfilter/_test/
H A Dajax.test.php39 $response = ob_get_contents();
44 $this->assertEquals('{"id":0,"text":"<i>Nothing was found.<\/i>"}', $response);
46 $this->assertEquals('{"id":0,"text":"<i><\/i>"}', $response);
68 $response = (array)$response2;
71 if (!isset($response['text'])) {
72 var_dump(array($response1, $response2, $response));
75 $this->assertStringContainsString('id=test:plugin_tagfilter:tags:tagpage1', $response['text']);
76 $this->assertStringContainsString('id=test:plugin_tagfilter:tags:tagpage2', $response['text']);
95 $response = (array)json_decode(ob_get_contents());
98 $this->assertFalse(strpos($response['tex
[all...]
/plugin/const/_test/
H A Dfix_section.test.php17 $response = $request->get(array('id' => 'test:plugin_const:start'), '/doku.php');
19 … $first_sec = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(0)->attr('value');
20 … $second_sec = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(1)->attr('value');
21 … $third_sec = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(2)->attr('value');
30 $response = $request->get(array('id' => 'test:plugin_const:include'), '/doku.php');
34 … $section[] = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(0)->attr('value');
35 … $section[] = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(1)->attr('value');
36 … $section[] = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(2)->attr('value');
37 … $section[] = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(3)->attr('value');
38 … $section[] = $response->queryHTML('form.btn_secedit input[name="range"]')->eq(4)->attr('value');
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DMultiGetTest.php30 $response = new HTTP\ResponseMock();
33 $this->server->httpResponse = $response;
37 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
42 $result = $client->parseMultiStatus($response->body);
73 $response = new HTTP\ResponseMock();
76 $this->server->httpResponse = $response;
80 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
85 $result = $client->parseMultiStatus($response->body);
/plugin/uncmap/_test/
H A Dmapping.test.php89 $response = $request->post($input);
91 strpos($response->getContent(), 'Testlink') !== false,
95 strpos($response->getContent(), '>some title</a>') !== false,
103 strpos($response->getContent(), 'class="windows"') !== false,
116 $response = $request->post($input);
118 strpos($response->getContent(), 'Testlink') !== false,
122 strpos($response->getContent(), 'class="wikilink1"') !== false,
139 $response = $request->post($input);
141 strpos($response->getContent(), 'Testlink') !== false,
164 $response = $request->post($input);
[all …]
/plugin/stopforumspam/
H A DResponseChecker.php46 $response = json_decode($string, true);
48 if (isset($response['username'])) {
49 $this->username = $this->ResponseCategoryFromAssoc($response['username']);
52 if (isset($response['email'])) {
53 $this->email = $this->ResponseCategoryFromAssoc($response['email']);
56 if (isset($response['ip'])) {
57 $this->ip = $this->ResponseCategoryFromAssoc($response['ip']);
108 $response = new Response();
109 $response->fromJson($json);
112 if (($result = $this->categoryIsValid($response->username)) === false) {
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/
H A DApacheTest.php20 $response = new HTTP\Response();
24 $backend->check($request, $response)[0]
34 $response = new HTTP\Response();
39 $backend->check($request, $response)
49 $response = new HTTP\Response();
54 $backend->check($request, $response)
62 $response = new HTTP\Response();
65 $backend->challenge($request, $response);
68 $response->getHeader('WWW-Authenticate')
/plugin/fedauth/Auth/Yadis/
H A DYadis.php333 $response = $fetcher->get($uri, $headers);
335 if (!$response || ($response->status != 200 and
336 $response->status != 206)) {
341 $result->normalized_uri = $response->final_url;
343 $response->headers,
352 $response->headers,
357 $yadis_location = $parser->getHTTPEquiv($response->body);
363 $response = $fetcher->get($yadis_location);
365 if ((!$response) || ($response->status != 200 and
366 $response->status != 206)) {
[all …]

12345678910>>...37