Home
last modified time | relevance | path

Searched refs:response (Results 301 – 325 of 925) sorted by path

1...<<11121314151617181920>>...37

/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/Backend/
H A DMock.php49 * @param ResponseInterface $response
52 function check(RequestInterface $request, ResponseInterface $response) { argument
83 function challenge(RequestInterface $request, ResponseInterface $response) { argument
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Browser/
H A DMapGetToPropFindTest.php31 …his->assertEquals(207, $this->response->status,'Incorrect status response received. Full response …
38 $this->response->getHeaders()
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/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DClientMock.php10 public $response; variable in Sabre\\DAV\\ClientMock
30 return $this->response;
H A DClientTest.php128 $client->response = new Response(207, [], $responseBody);
152 $client->response = new Response(405, []);
178 $client->response = new Response(207, [], $responseBody);
218 $client->response = new Response(207, [], $responseBody);
235 $client->response = new Response(207, [
H A DCopyTest.php31 $response = new HTTP\ResponseMock();
33 $server->invokeMethod($request, $response);
H A DHTTPPreferParsingTest.php123 $response = $this->request($request);
125 $body = $response->getBodyAsString();
127 $this->assertEquals(207, $response->getStatus(), $body);
157 $response = $this->request($request);
159 $this->assertEquals(0, strlen($response->body), 'Expected empty body: ' . $response->body);
160 $this->assertEquals(204, $response->status);
179 $response = $this->request($request);
181 $body = $response->getBodyAsString();
183 $this->assertEquals(207, $response->status);
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 …]
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 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 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 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 DIssue33Test.php84 $response = new HTTP\ResponseMock();
98 $server->httpResponse = $response;
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 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 DServerPluginTest.php61 ),$this->response->getHeaders());
63 $this->assertEquals(200, $this->response->status);
64 $this->assertEquals('', $this->response->body);
H A DServerPropsInfiniteDepthTest.php54 …$this->assertEquals(207, $this->response->status, 'Incorrect status received. Full response body: …
62 $this->response->getHeaders()
65 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
89 $body = $this->response->getBodyAsString();
90 $this->assertEquals(207, $this->response->getStatus(), $body);
126 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
145 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
H A DServerPropsTest.php47 $this->assertEquals(207, $this->response->status);
55 $this->response->getHeaders()
58 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
73 $this->assertEquals(207, $this->response->status);
81 $this->response->getHeaders()
84 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
107 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
141 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
160 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);
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 …]
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/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/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());
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/Mount/
H A DPluginTest.php30 …sertEquals(501, $this->response->status,'We expected GET to not be implemented for Directories. Re…
47 $this->assertEquals(200, $this->response->status);
49 $xml = simplexml_load_string($this->response->body);
50 … errors:' . print_r(libxml_get_errors(),true) . '. xml body: ' . $this->response->body . '. What t…
/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 …]

1...<<11121314151617181920>>...37