Lines Matching refs:HTTP

5 use Sabre\HTTP;  alias
18 $httpRequest = new HTTP\Request('GET', '/bar', ['If-Match' => '*']);
19 $httpResponse = new HTTP\Response();
30 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '*']);
31 $httpResponse = new HTTP\Response();
43 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '1234']);
44 $httpResponse = new HTTP\Response();
55 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '"abc123"']);
56 $httpResponse = new HTTP\Response();
70 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '\\"abc123\\"']);
71 $httpResponse = new HTTP\Response();
82 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '"hellothere", "abc123"']);
83 $httpResponse = new HTTP\Response();
94 $httpRequest = new HTTP\Request('GET', '/bar', ['If-None-Match' => '*']);
95 $httpResponse = new HTTP\Response();
107 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '*']);
108 $httpResponse = new HTTP\Response();
119 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '"1234"']);
120 $httpResponse = new HTTP\Response();
131 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '"1234", "5678"']);
132 $httpResponse = new HTTP\Response();
144 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '"abc123"']);
145 $httpResponse = new HTTP\Response();
157 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '"1234, "abc123"']);
158 $httpResponse = new HTTP\Response();
169 $httpRequest = new HTTP\Request('GET', '/foo', ['If-None-Match' => '"abc123"']);
170 $server->httpResponse = new HTTP\ResponseMock();
185 $server->sapi = new HTTP\SapiMock();
186 HTTP\SapiMock::$sent = 0;
187 $httpRequest = new HTTP\Request('GET', '/foo', ['If-None-Match' => '"abc123"']);
189 $server->httpResponse = new HTTP\ResponseMock();
199 $this->assertEquals(1, HTTP\SapiMock::$sent);
209 $httpRequest = HTTP\Sapi::createFromServerArray(array(
213 $server->httpResponse = new HTTP\ResponseMock();
230 $httpRequest = HTTP\Sapi::createFromServerArray(array(
236 $httpResponse = new HTTP\ResponseMock();
247 $httpRequest = HTTP\Sapi::createFromServerArray(array(
252 $httpResponse = new HTTP\ResponseMock();
265 $httpRequest = HTTP\Sapi::createFromServerArray(array(
269 $httpResponse = new HTTP\ResponseMock();
281 $httpRequest = HTTP\Sapi::createFromServerArray(array(
285 $httpResponse = new HTTP\Response();
298 $httpRequest = HTTP\Sapi::createFromServerArray(array(
302 $httpResponse = new HTTP\ResponseMock();
313 $httpRequest = HTTP\Sapi::createFromServerArray(array(
317 $httpResponse = new HTTP\ResponseMock();