Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 517) sorted by relevance

12345678910>>...21

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Locks/
H A DPluginTest.php49 $this->response->getHeaders()
74 …$this->assertEquals(200, $this->response->status,'Got an incorrect status back. Response body: ' .…
128 $this->response = new HTTP\ResponseMock();
129 $this->server->httpResponse = $this->response;
135 … $this->assertEquals(423, $this->response->status, 'Full response: ' . $this->response->body);
159 $this->response = new HTTP\ResponseMock();
160 $this->server->httpResponse = $this->response;
194 $this->response = new HTTP\ResponseMock();
247 $this->response->getHeaders()
267 $this->response->getHeaders()
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Sync/
H A DPluginTest.php98 $this->assertEquals(207, $response->status, 'Full response body:' . $response->body);
174 $response = $responses[0];
184 $response = $responses[1];
221 $this->assertEquals(207, $response->status, 'Full response body:' . $response->body);
287 $response = $responses[0];
330 $this->assertEquals(415, $response->status, 'Full response body:' . $response->body);
359 $this->assertEquals(415, $response->status, 'Full response body:' . $response->body);
389 $this->assertEquals(403, $response->status, 'Full response body:' . $response->body);
418 $this->assertEquals(403, $response->status, 'Full response body:' . $response->body);
446 $this->assertEquals(400, $response->status, 'Full response body:' . $response->body);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DValidateICalTest.php53 $response = new HTTP\ResponseMock();
74 $response = $this->request($request);
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);
132 …$this->assertEquals(400, $response->status, 'Incorrect status returned! Full response body: ' . $r…
144 $response = $this->request($request);
[all …]
H A DJCalTransformTest.php35 $response = $this->request($request);
40 $response = json_decode($body,true);
56 $response
78 … $this->assertEquals(207, $response->getStatus(), 'Full rsponse: ' . $response->getBodyAsString());
81 $response->getBodyAsString()
134 $response->getBodyAsString()
142 $response = json_decode($response,true);
158 $response
187 $response->getBodyAsString()
195 $response = json_decode($response,true);
[all …]
H A DSharingPluginTest.php131 $this->assertEquals(501, $response->status, $response->body);
145 $this->assertEquals(501, $response->status, $response->body);
159 $this->assertEquals(501, $response->status, $response->body);
188 $this->assertEquals(200, $response->status, $response->body);
230 $this->assertEquals(501, $response->status, $response->body);
251 $this->assertEquals(200, $response->status, $response->body);
269 $this->assertEquals(400, $response->status, $response->body);
288 $this->assertEquals(501, $response->status, $response->body);
311 $this->assertEquals(202, $response->status, $response->body);
330 $this->assertEquals(200, $response->status, $response->body);
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
H A DConnection.php287 $response['body'] = stream_get_contents($response['body']);
291 if ($response['status'] >= 400 && $response['status'] < 500) {
305 …$response['body'] = $this->serializer->deserialize($response['body'], $response['transfer_stats']);
312 return $response; variable in Elasticsearch\\Connections\\Connection
349 * @param array $response
386 * @param array $response
433 $response = $response->wait();
644 $error = $this->serializer->deserialize($response['body'], $response['transfer_stats']);
658 $original = new $errorClass(json_encode($response['body']), $response['status']);
664 $original = new $errorClass(json_encode($response['body']), $response['status']);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DHttpGetTest.php35 $response = $this->request($request);
49 $response->getHeaders()
60 $response = $this->request($request);
74 $response->getHeaders()
86 $response = $this->request($request);
95 $response = $this->request($request);
107 $response = $this->request($request);
121 $response->getHeaders()
131 $response = $this->request($request);
140 $response = $this->request($request);
[all …]
H A DHttpPutTest.php37 $response = $this->request($request);
52 $response->getHeaders()
66 $response = $this->request($request);
81 $response->getHeaders()
100 $response = $this->request($request);
115 $response->getHeaders()
134 $response = $this->request($request);
149 $response->getHeaders()
202 $response->getHeaders()
297 $response->getHeaders()
[all …]
H A DTemporaryFileFilterTest.php24 $this->assertEquals('', $this->response->body);
44 ),$this->response->getHeaders());
62 ),$this->response->getHeaders());
73 ),$this->response->getHeaders());
88 ),$this->response->getHeaders());
100 ),$this->response->getHeaders());
148 ),$this->response->getHeaders());
157 ),$this->response->getHeaders());
174 ),$this->response->getHeaders());
181 …$this->assertEquals(207, $this->response->status,'Incorrect status code returned. Body: ' . $this-…
[all …]
H A DServerMKCOLTest.php24 ),$this->response->getHeaders());
50 ),$this->response->getHeaders());
75 ),$this->response->getHeaders());
77 $this->assertEquals(400, $this->response->getStatus(), $this->response->getBodyAsString() );
100 ),$this->response->getHeaders());
132 ),$this->response->getHeaders());
164 ),$this->response->getHeaders());
196 ),$this->response->getHeaders());
230 ),$this->response->getHeaders());
255 ),$this->response->getHeaders());
[all …]
H A DHttpDeleteTest.php41 $response = $this->request($request);
45 $response->getStatus(),
54 $response->getHeaders()
66 $response = $this->request($request);
70 $response->getStatus(),
79 $response->getHeaders()
90 $response = $this->request($request);
94 $response->getStatus(),
109 $response = $this->request($request);
113 $response->getStatus(),
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/
H A DAddressBookQueryTest.php33 $response = new HTTP\ResponseMock();
36 $this->server->httpResponse = $response;
40 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
83 $response = new HTTP\ResponseMock();
90 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
128 $response = new HTTP\ResponseMock();
135 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
167 $response = new HTTP\ResponseMock();
174 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
217 …$this->assertEquals(207, $response->status, 'Incorrect status code. Full response body:' . $respon…
[all …]
H A DValidateVCardTest.php40 $response = new HTTP\ResponseMock();
41 $this->server->httpResponse = $response;
61 $response = $this->request($request);
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…
128 $response = $this->request($request);
[all …]
/plugin/authfacebook/lib/Exceptions/
H A DFacebookResponseException.php38 protected $response; variable in Facebook\\Exceptions\\FacebookResponseException
48 * @param FacebookResponse $response The response that threw the exception.
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();
137 return new static($response, new FacebookOtherException($message, $code));
164 return $this->response->getHttpStatusCode();
194 return $this->response->getBody();
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/
H A DPluginTest.php48 $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);
102 $this->assertEquals(411, $response->status, 'Full response body:' . $response->body);
115 $this->assertEquals(204, $response->status, 'Full response body:' . $response->body);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAV/
H A DCorePlugin.php187 $response->setStatus(206);
188 $response->setBody($body);
225 $response->setStatus(200);
254 $response->setBody('');
262 $response->setBody('');
290 $response->setStatus(204);
339 $response->setStatus(207);
356 $response->setBody($data);
411 $response->setStatus(207);
426 $response->setBody(
[all …]
/plugin/webdav/vendor/sabre/dav/lib/DAV/
H A DCorePlugin.php187 $response->setStatus(206);
188 $response->setBody($body);
225 $response->setStatus(200);
254 $response->setBody('');
262 $response->setBody('');
290 $response->setStatus(204);
339 $response->setStatus(207);
356 $response->setBody($data);
411 $response->setStatus(207);
426 $response->setBody(
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Browser/
H A DPluginTest.php35 $this->response->getHeaders()
38 $body = $this->response->getBodyAsString();
61 $this->response->getHeaders()
64 $body = $this->response->getBodyAsString();
82 $this->response->getHeaders()
95 $response = new HTTP\Response();
144 ), $this->response->getHeaders());
156 $this->assertEquals(200, $this->response->getStatus(), 'Error: ' . $this->response->body);
163 ], $this->response->getHeaders());
173 $this->assertEquals(404, $this->response->getStatus(), 'Error: ' . $this->response->body);
[all …]
/plugin/elasticsearch/vendor/guzzlehttp/ringphp/tests/Client/
H A DMockHandlerTest.php13 $response = $mock([]);
14 $this->assertEquals(200, $response['status']);
15 $this->assertEquals([], $response['headers']);
16 $this->assertNull($response['body']);
17 $this->assertNull($response['reason']);
18 $this->assertNull($response['effective_url']);
31 $response = $mock([]);
33 $this->assertEquals(200, $response['status']);
46 $response = $mock([]);
71 $response = $mock([]);
[all …]
H A DCurlHandlerTest.php29 $response = $handler([
35 $this->assertNull($response['status']);
36 $this->assertNull($response['reason']);
37 $this->assertEquals([], $response['headers']);
40 $response['error']
45 preg_match('/^cURL error \d+: .*$/', $response['error']->getMessage())
52 $response = [
58 Server::enqueue([$response, $response, $response, $response]);
86 $response = ['status' => 200];
87 Server::enqueue([$response, $response]);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/FSExt/
H A DServerTest.php33 $this->response->getHeaders()
55 $this->response->getHeaders()
59 $this->assertEquals('', $this->response->body);
75 ], $this->response->getHeaders());
93 ],$this->response->getHeaders());
109 ],$this->response->getHeaders());
141 ],$this->response->getHeaders());
161 ],$this->response->getHeaders());
181 ], $this->response->getHeaders());
202 ],$this->response->getHeaders());
[all …]
/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DResponseTest.php9 $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/geotag/_test/
H A Dsyntax.test.php75 $response = $request->get(array('id'=>'minimalgeotag'), '/doku.php');
78 $response->queryHTML('meta[name="keywords"]')->attr('content'));
82 $response->queryHTML('meta[name="ICBM"]')->attr('content'));
85 strpos($response->getContent(), 'Geotag (location) for:') !== false,
92 $response = $request->get(array('id'=>'fullgeotag'), '/doku.php');
95 $response->queryHTML('meta[name="keywords"]')->attr('content'));
99 $response->queryHTML('meta[name="ICBM"]')->attr('content'));
102 strpos($response->getContent(), 'Geotag (location) for:') !== false,
109 $response = $request->get(array('id'=>'fullgeotagnegativecoords'), '/doku.php');
116 $response->queryHTML('meta[name="ICBM"]')->attr('content'));
[all …]
/plugin/webdav/_test/
H A Dwebdav.test.php24 $this->assertEquals(207, $response->getStatus());
30 $this->assertEquals(200, $response->getStatus());
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',
74 '/d:multistatus/d:response/d:propstat/d:prop/d:displayname',
75 '/d:multistatus/d:response/d:propstat/d:prop/dw:id',
76 '/d:multistatus/d:response/d:propstat/d:prop/dw:title',
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/
H A DAbstractDigestTest.php13 $response = new HTTP\Response();
17 $backend->check($request, $response)[0]
28 $response = new HTTP\Response();
32 $backend->check($request, $response)[0]
47 $response = new HTTP\Response();
51 $backend->check($request, $response)
55 $backend->check($request, $response);
66 $response = new HTTP\Response();
83 $response = new HTTP\Response();
102 $response = new HTTP\Response();
[all …]

12345678910>>...21