/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/ |
H A D | PluginTest.php | 49 $this->response->getHeaders() 52 $this->assertEquals(400, $this->response->status); 71 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type')); 72 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke… 74 …$this->assertEquals(200, $this->response->status,'Got an incorrect status back. Response body: ' .… 76 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body); 99 …n "' . $elem . '". ' . count($data) . ' were found. Full response body: ' . $this->response->body); 106 …$this->assertEquals($this->response->getHeader('Lock-Token'),'<' . (string)$token[0] . '>','Token … 128 $this->response = new HTTP\ResponseMock(); 129 $this->server->httpResponse = $this->response; [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Sync/ |
H A D | PluginTest.php | 96 $response = $this->request($request); 98 $this->assertEquals(207, $response->status, 'Full response body:' . $response->body); 100 $multiStatus = $this->server->xml->parse($response->getBodyAsString()); 109 $this->assertEquals(2, count($responses), 'We expected exactly 2 {DAV:}response'); 161 $this->assertEquals(207, $response->status, 'Full response body:' . $response->body); 174 $response = $responses[0]; 176 $this->assertNull($response->getHttpStatus()); 177 $this->assertEquals('/coll/file2.txt', $response->getHref()); 182 ], $response->getResponseProperties()); 184 $response = $responses[1]; [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/ |
H A D | HttpGetTest.php | 35 $response = $this->request($request); 37 $this->assertEquals(200, $response->getStatus()); 40 $response->removeHeader('Last-Modified'); 49 $response->getHeaders() 52 $this->assertEquals('foo', $response->getBodyAsString()); 60 $response = $this->request($request); 62 $this->assertEquals(200, $response->getStatus()); 65 $response->removeHeader('Last-Modified'); 74 $response->getHeaders() 77 $this->assertEquals('1.0', $response->getHttpVersion()); [all …]
|
H A D | HttpPutTest.php | 37 $response = $this->request($request); 39 …$this->assertEquals(201, $response->getStatus(), 'Incorrect status code received. Full response bo… 52 $response->getHeaders() 66 $response = $this->request($request); 68 $this->assertEquals(204, $response->getStatus()); 81 $response->getHeaders() 100 $response = $this->request($request); 102 $this->assertEquals(204, $response->getStatus()); 115 $response->getHeaders() 134 $response = $this->request($request); [all …]
|
H A D | TemporaryFileFilterTest.php | 24 $this->assertEquals('', $this->response->body); 25 $this->assertEquals(201, $this->response->status); 26 $this->assertEquals('0', $this->response->getHeader('Content-Length')); 40 $this->assertEquals('', $this->response->body); 41 $this->assertEquals(201, $this->response->status); 44 ),$this->response->getHeaders()); 58 $this->assertEquals('', $this->response->body); 59 $this->assertEquals(201, $this->response->status); 62 ),$this->response->getHeaders()); 69 $this->assertEquals(412, $this->response->status); [all …]
|
H A D | HttpDeleteTest.php | 41 $response = $this->request($request); 45 $response->getStatus(), 46 "Incorrect status code. Response body: " . $response->getBodyAsString() 54 $response->getHeaders() 66 $response = $this->request($request); 70 $response->getStatus(), 71 "Incorrect status code. Response body: " . $response->getBodyAsString() 79 $response->getHeaders() 90 $response = $this->request($request); 94 $response->getStatus(), [all …]
|
H A D | ServerMKCOLTest.php | 24 ),$this->response->getHeaders()); 26 $this->assertEquals(201, $this->response->status); 27 $this->assertEquals('', $this->response->body); 50 ),$this->response->getHeaders()); 52 $this->assertEquals(415, $this->response->status); 75 ),$this->response->getHeaders()); 77 $this->assertEquals(400, $this->response->getStatus(), $this->response->getBodyAsString() ); 100 ),$this->response->getHeaders()); 102 $this->assertEquals(400, $this->response->getStatus()); 132 ),$this->response->getHeaders()); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/ |
H A D | ValidateICalTest.php | 53 $response = new HTTP\ResponseMock(); 54 $this->server->httpResponse = $response; 74 $response = $this->request($request); 76 $this->assertEquals(415, $response->status); 88 $response = $this->request($request); 90 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 95 ), $response->getHeaders()); 116 $response = $this->request($request); 118 …$this->assertEquals(400, $response->status, 'Incorrect status returned! Full response body: ' . $r… 130 $response = $this->request($request); [all …]
|
H A D | JCalTransformTest.php | 35 $response = $this->request($request); 37 $body = $response->getBodyAsString(); 38 $this->assertEquals(200, $response->getStatus(), "Incorrect status code: " . $body); 40 $response = json_decode($body,true); 56 $response 76 $response = $this->request($request); 78 … $this->assertEquals(207, $response->getStatus(), 'Full rsponse: ' . $response->getBodyAsString()); 81 $response->getBodyAsString() 87 …$response = $responses[0]->getResponseProperties()[200]["{urn:ietf:params:xml:ns:caldav}calendar-d… 89 $jresponse = json_decode($response,true); [all …]
|
H A D | SharingPluginTest.php | 129 $response = $this->request($request); 131 $this->assertEquals(501, $response->status, $response->body); 143 $response = $this->request($request); 145 $this->assertEquals(501, $response->status, $response->body); 157 $response = $this->request($request); 159 $this->assertEquals(501, $response->status, $response->body); 187 $response = $this->request($request); 188 $this->assertEquals(200, $response->status, $response->body); 229 $response = $this->request($request); 230 $this->assertEquals(501, $response->status, $response->body); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/ |
H A D | AddressBookQueryTest.php | 33 $response = new HTTP\ResponseMock(); 36 $this->server->httpResponse = $response; 40 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon… 45 $result = $client->parseMultiStatus($response->body); 83 $response = new HTTP\ResponseMock(); 86 $this->server->httpResponse = $response; 90 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon… 95 $result = $client->parseMultiStatus($response->body); 128 $response = new HTTP\ResponseMock(); 131 $this->server->httpResponse = $response; [all …]
|
H A D | ValidateVCardTest.php | 40 $response = new HTTP\ResponseMock(); 41 $this->server->httpResponse = $response; 61 $response = $this->request($request); 63 $this->assertEquals(415, $response->status); 75 $response = $this->request($request); 77 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 95 $response = $this->request($request); 97 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… 111 $response = $this->request($request); 113 …$this->assertEquals(201, $response->status, 'Incorrect status returned! Full response body: ' . $r… [all …]
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/ |
D | Connection.php | 264 $response = Core::proxy( variable in Elasticsearch\\Connections\\Connection 266 function ($response) use ($connection, $transport, $request, $options) { 268 $this->lastRequest['response'] = $response; variable in Elasticsearch\\Connections\\Connection 270 if (isset($response['error']) === true) { 271 …if ($response['error'] instanceof ConnectException || $response['error'] instanceof RingException)… 274 $exception = $this->getCurlRetryException($request, $response); 276 $this->logRequestFail($request, $response, $exception); 311 $exception = new TransportException($response['error']->getMessage()); 312 $this->logRequestFail($request, $response, $exception); 318 if (isset($response['headers']['Warning'])) { [all …]
|
/plugin/authfacebook/lib/Exceptions/ |
D | FacebookResponseException.php | 38 protected $response; variable in Facebook\\Exceptions\\FacebookResponseException 48 * @param FacebookResponse $response The response that threw the exception. 51 …public function __construct(FacebookResponse $response, FacebookSDKException $previousException = … argument 53 $this->response = $response; 54 $this->responseData = $response->getDecodedBody(); 65 * @param FacebookResponse $response The response that threw the exception. 69 public static function create(FacebookResponse $response) argument 71 $data = $response->getDecodedBody(); 89 … return new static($response, new FacebookAuthenticationException($message, $code)); 97 … return new static($response, new FacebookResumableUploadException($message, $code)); [all …]
|
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/ |
D | MessageFormatter.php | 68 * @param ResponseInterface|null $response Response that was received 71 …public function format(RequestInterface $request, ResponseInterface $response = null, \Throwable $… argument 78 function (array $matches) use ($request, $response, $error, &$cache) { 89 $result = $response ? Psr7\Message::toString($response) : ''; 98 $result = $response ? 101 $response->getProtocolVersion(), 102 $response->getStatusCode(), 103 $response->getReasonPhrase() 104 )."\r\n".$this->headers($response) 111 if (!$response instanceof ResponseInterface) { [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/ |
H A D | PluginTest.php | 48 $response = $this->request($request); 50 $this->assertEquals(400, $response->status, 'Full response body:' . $response->body); 61 $response = $this->request($request); 63 $this->assertEquals(405, $response->status, 'Full response body:' . $response->body); 74 $response = $this->request($request); 76 $this->assertEquals(415, $response->status, 'Full response body:' . $response->body); 87 $response = $this->request($request); 89 $this->assertEquals(416, $response->status, 'Full response body:' . $response->body); 100 $response = $this->request($request); 102 $this->assertEquals(411, $response->status, 'Full response body:' . $response->body); [all …]
|
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/ |
D | MessageFormatter.php | 61 * @param ResponseInterface $response Response that was received 68 ResponseInterface $response = null, argument 75 function (array $matches) use ($request, $response, $error, &$cache) { 86 $result = $response ? Psr7\str($response) : ''; 95 $result = $response ? 98 $response->getProtocolVersion(), 99 $response->getStatusCode(), 100 $response->getReasonPhrase() 101 ) . "\r\n" . $this->headers($response) 108 $result = $response ? $response->getBody() : 'NULL'; [all …]
|
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Exception/ |
D | RequestException.php | 18 private $response; variable in GuzzleHttp\\Exception\\RequestException 26 ResponseInterface $response = null, argument 31 $code = $response && !($response instanceof PromiseInterface) 32 ? $response->getStatusCode() 36 $this->response = $response; 59 * @param ResponseInterface $response Response received 67 ResponseInterface $response = null, argument 71 if (!$response) { 81 $level = (int) floor($response->getStatusCode() / 100); 103 $response->getStatusCode(), [all …]
|
/plugin/webdav/vendor/sabre/dav/lib/DAV/ |
D | CorePlugin.php | 75 * @param ResponseInterface $response 78 function httpGet(RequestInterface $request, ResponseInterface $response) { argument 120 $response->addHeaders($httpHeaders); 185 $response->setHeader('Content-Length', $end - $start + 1); 186 $response->setHeader('Content-Range', 'bytes ' . $start . '-' . $end . '/' . $nodeSize); 187 $response->setStatus(206); 188 $response->setBody($body); 192 if ($nodeSize) $response->setHeader('Content-Length', $nodeSize); 193 $response->setStatus(200); 194 $response->setBody($body); [all …]
|
/plugin/davcal/vendor/sabre/dav/lib/DAV/ |
H A D | CorePlugin.php | 73 * @param ResponseInterface $response 76 function httpGet(RequestInterface $request, ResponseInterface $response) { argument 118 $response->addHeaders($httpHeaders); 185 $response->setHeader('Content-Length', $end - $start + 1); 186 $response->setHeader('Content-Range', 'bytes ' . $start . '-' . $end . '/' . $nodeSize); 187 $response->setStatus(206); 188 $response->setBody($body); 192 if ($nodeSize) $response->setHeader('Content-Length', $nodeSize); 193 $response->setStatus(200); 194 $response->setBody($body); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Browser/ |
H A D | PluginTest.php | 28 …this->assertEquals(200, $this->response->getStatus(), "Incorrect status received. Full response bo… 35 $this->response->getHeaders() 38 $body = $this->response->getBodyAsString(); 54 …this->assertEquals(200, $this->response->getStatus(), "Incorrect status received. Full response bo… 61 $this->response->getHeaders() 64 $body = $this->response->getBodyAsString(); 75 …$this->assertEquals(200, $this->response->status, "Incorrect status received. Full response body: … 82 $this->response->getHeaders() 85 $body = $this->response->getBodyAsString(); 95 $response = new HTTP\Response(); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/FSExt/ |
H A D | ServerTest.php | 25 $this->assertEquals(200, $this->response->getStatus(), 'Invalid status code received.'); 33 $this->response->getHeaders() 37 $this->assertEquals('Test contents', stream_get_contents($this->response->body)); 55 $this->response->getHeaders() 58 $this->assertEquals(200,$this->response->status); 59 $this->assertEquals('', $this->response->body); 75 ], $this->response->getHeaders()); 77 $this->assertEquals(201, $this->response->status); 78 $this->assertEquals('', $this->response->body); 93 ],$this->response->getHeaders()); [all …]
|
/plugin/davcal/vendor/sabre/http/tests/HTTP/ |
H A D | ResponseTest.php | 9 $response = new Response(200, ['Content-Type' => 'text/xml']); 10 $this->assertEquals(200, $response->getStatus()); 11 $this->assertEquals('OK', $response->getStatusText()); 17 $response = new Response(); 18 $response->setStatus('402 Where\'s my money?'); 19 $this->assertEquals(402, $response->getStatus()); 20 $this->assertEquals('Where\'s my money?', $response->getStatusText()); 29 $response = new Response(1000); 35 $response = new Response(200, ['Content-Type' => 'text/xml']); 36 $response->setBody('foo'); [all …]
|
/plugin/authgooglesheets/vendor/google/apiclient/src/Http/ |
D | REST.php | 83 $response = $httpHandler($request); 90 $response = $e->getResponse(); 92 if ($response instanceof \GuzzleHttp\Message\ResponseInterface) { 93 $response = new Response( 94 $response->getStatusCode(), 95 $response->getHeaders() ?: [], 96 $response->getBody(), 97 $response->getProtocolVersion(), 98 $response->getReasonPhrase() 103 return self::decodeHttpResponse($response, $request, $expectedClass); [all …]
|
/plugin/webdav/_test/ |
D | webdav.test.php | 23 $response = $this->server->request(new HTTP\Request('PROPFIND', '/wiki')); 24 $this->assertEquals(207, $response->getStatus()); 29 … $response = $this->server->request(new HTTP\Request('GET', '/wiki/pages/wiki/dokuwiki.txt')); 30 $this->assertEquals(200, $response->getStatus()); 35 $response = $this->server->request(new HTTP\Request('GET', '/wiki/pages/wiki/foo.txt')); 36 $this->assertEquals(404, $response->getStatus()); 61 $response = $this->server->request($request); 63 $body = $response->getBodyAsString(); 70 '/d:multistatus/d:response/d:href', 71 '/d:multistatus/d:response/d:propstat/d:prop/d:creationdate', [all …]
|