Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 203) sorted by relevance

123456789

/plugin/davcal/vendor/sabre/http/tests/HTTP/
H A DRequestTest.php9 $request = new Request('GET', '/foo', [
22 $request = new Request('GET', '/foo?a=b&c&d=e');
33 $request = new Request('GET', '/foo');
78 $r = new Request();
86 $request = new Request();
96 $request = new Request();
106 $request = new Request();
119 $request = new Request();
129 $request = new Request('PUT', '/foo/bar', ['Content-Type' => 'text/xml']);
144 …$request = new Request('PUT', '/foo/bar', ['Content-Type' => 'text/xml', 'Authorization' => 'Basic…
[all …]
H A DClientTest.php14 $request = new Request('GET', 'http://example.org/', ['X-Foo' => 'bar']);
43 $request = new Request('HEAD', 'http://example.org/', ['X-Foo' => 'bar']);
71 $request = new Request('HEAD', 'http://example.org/', ['X-Foo' => 'bar']);
109 $request = new Request('PUT', 'http://example.org/', ['X-Foo' => 'bar'], $h);
136 $request = new Request('PUT', 'http://example.org/', ['X-Foo' => 'bar'], 'boo');
162 $request = new Request('GET', 'http://example.org/');
200 $request = new Request('GET', 'http://example.org/');
252 $request = new Request('GET', 'http://example.org/');
348 $request = new Request('GET', 'http://example.org/');
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DHttpPutTest.php35 $request = new HTTP\Request('PUT', '/file2', [], 'hello');
64 $request = new HTTP\Request('PUT', '/file1', [], 'bar');
93 $request = new HTTP\Request(
127 $request = new HTTP\Request(
161 $request = new HTTP\Request(
180 $request = new HTTP\Request(
214 $request = new HTTP\Request(
234 $request = new HTTP\Request(
255 $request = new HTTP\Request(
276 $request = new HTTP\Request(
[all …]
H A DServerPreconditionTest.php18 $httpRequest = new HTTP\Request('GET', '/bar', ['If-Match' => '*']);
30 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '*']);
43 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '1234']);
55 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '"abc123"']);
70 $httpRequest = new HTTP\Request('GET', '/foo', ['If-Match' => '\\"abc123\\"']);
94 $httpRequest = new HTTP\Request('GET', '/bar', ['If-None-Match' => '*']);
107 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '*']);
119 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '"1234"']);
144 $httpRequest = new HTTP\Request('POST', '/foo', ['If-None-Match' => '"abc123"']);
169 $httpRequest = new HTTP\Request('GET', '/foo', ['If-None-Match' => '"abc123"']);
[all …]
H A DHttpGetTest.php34 $request = new HTTP\Request('GET', '/file1');
58 $request = new HTTP\Request('GET', '/file1');
85 $request = new HTTP\Request('GET', '/notfound');
94 $request = new HTTP\Request('GET', '/file1/subfile');
106 $request = new HTTP\Request('GET', '//file1');
130 $request = new HTTP\Request('GET', '/dir');
139 $request = new HTTP\Request('GET', '/streaming');
H A DTemporaryFileFilterTest.php19 $request = new HTTP\Request('PUT', '/testput.txt', [], 'Testing new file');
35 $request = new HTTP\Request('PUT', '/._testput.txt', [], 'Testing new file');
53 …$request = new HTTP\Request('PUT', '/._testput.txt', ['If-None-Match' => '*'], 'Testing new file');
80 $request = new HTTP\Request('PUT', '/._testput.txt', [], 'Testing new file');
90 $request = new HTTP\Request('GET', '/._testput.txt');
114 $request = new HTTP\Request('LOCK', '/._testput.txt');
139 $request = new HTTP\Request('PUT', '/._testput.txt', [], 'Testing new file');
150 $request = new HTTP\Request('DELETE', '/._testput.txt');
166 $request = new HTTP\Request('PUT', '/._testput.txt', [], 'Testing new file');
176 $request = new HTTP\Request('PROPFIND', '/._testput.txt');
H A DHttpDeleteTest.php39 $request = new HTTP\Request('DELETE', '/file1');
64 $request = new HTTP\Request('DELETE', '/dir');
89 $request = new HTTP\Request('DELETE', '/file2');
105 $request = new HTTP\Request('DELETE', '/file1', [
124 $request = new HTTP\Request('DELETE', '/file1', [
H A DHttpMoveTest.php33 $request = new HTTP\Request('MOVE', '/file1', [
44 $request = new HTTP\Request('MOVE', '/file1', [
56 $request = new HTTP\Request('MOVE', '/file1', [
68 $request = new HTTP\Request('MOVE', '/file1', [
81 $request = new HTTP\Request('MOVE', '/file1', [
108 $request = new HTTP\Request('MOVE', '/file1', [
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Exception/
H A DResponseException.php5 use Elastica\Request; alias
16 * @var Request Request object
28 * @param Request $request
31 public function __construct(Request $request, Response $response)
41 * @return Request Request object
43 public function getRequest(): Request
H A DConnectionException.php5 use Elastica\Request; alias
16 * @var Request|null Request object
29 * @param Request|null $request
32 public function __construct(string $message, Request $request = null, Response $response = null)
43 * @return Request|null Request object
H A DPartialShardFailureException.php6 use Elastica\Request; alias
19 * @param Request $request
22 public function __construct(Request $request, Response $response)
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Transport/
H A DGuzzle.php10 use Elastica\Request; alias
53 public function exec(Request $request, array $params): Response
117 * @param Request $request
122 protected function _createPsr7Request(Request $request, Connection $connection)
124 $req = new Psr7\Request(
134 if (Request::GET == $req->getMethod()) {
135 $req = $req->withMethod(Request::POST);
139 $request->setMethod(Request::POST);
140 $req = $req->withMethod(Request::POST);
199 * @param Request $request
[all …]
H A DNullTransport.php6 use Elastica\Request; alias
84 * @param Request $request
89 public function exec(Request $request, array $params): Response
/plugin/davcal/vendor/sabre/http/tests/HTTP/Auth/
H A DBasicTest.php5 use Sabre\HTTP\Request; alias
12 $request = new Request('GET', '/', [
27 $request = new Request('GET', '/', [
39 $request = new Request('GET', '/', []);
48 $request = new Request('GET', '/', [
60 $basic = new Basic('Dagger', new Request(), $response);
H A DBearerTest.php5 use Sabre\HTTP\Request; alias
12 $request = new Request('GET', '/', [
27 $request = new Request('GET', '/', []);
36 $request = new Request('GET', '/', [
48 $bearer = new Bearer('Dagger', new Request(), $response);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/
H A DACLMethodTest.php35 $server->httpRequest = new HTTP\Request();
53 $server->httpRequest = new HTTP\Request();
76 $server->httpRequest = new HTTP\Request('ACL','/test');
104 $server->httpRequest = new HTTP\Request('ACL','/test');
129 $server->httpRequest = new HTTP\Request('ACL','/test');
154 $server->httpRequest = new HTTP\Request('ACL','/test');
187 $server->httpRequest = new HTTP\Request('ACL','/test');
220 $server->httpRequest = new HTTP\Request('ACL','/test');
253 $server->httpRequest = new HTTP\Request('ACL','/test');
291 $server->httpRequest = new HTTP\Request('ACL','/test');
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Browser/
H A DPluginTest.php24 $request = new HTTP\Request('GET', '/dir');
49 $request = new HTTP\Request('GET', '/dir');
71 $request = new HTTP\Request('GET', '/');
94 $request = new HTTP\Request('GET', '/random');
104 $request = new HTTP\Request('POST', '/', ['Content-Type' => 'text/xml']);
114 … $request = new HTTP\Request('POST', '/', ['Content-Type' => 'application/x-www-form-urlencoded']);
152 $request = new HTTP\Request('GET', '/?sabreAction=asset&assetName=favicon.ico');
169 $request = new HTTP\Request('GET', '/?sabreAction=asset&assetName=flavicon.ico');
179 $request = new HTTP\Request('GET', '/?sabreAction=asset&assetName=./../assets/favicon.ico');
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Auth/
H A DPluginTest.php32 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()])
49 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()]);
68 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()]);
84 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()]);
99 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()]);
111 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()]);
124 $fakeServer->emit('beforeMethod', [new HTTP\Request(), new HTTP\Response()]);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/Schedule/
H A DFreeBusyRequestTest.php100 $this->server->httpRequest = new HTTP\Request(
114 $this->server->httpRequest = new HTTP\Request(
128 $this->server->httpRequest = new HTTP\Request(
145 $this->server->httpRequest = new HTTP\Request(
168 $this->server->httpRequest = new HTTP\Request(
192 $this->server->httpRequest = new HTTP\Request(
218 $this->server->httpRequest = new HTTP\Request(
243 $this->server->httpRequest = new HTTP\Request(
266 $this->server->httpRequest = new HTTP\Request(
331 $this->server->httpRequest = new HTTP\Request(
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/FSExt/
H A DServerTest.php20 $request = new HTTP\Request('GET', '/test.txt');
43 $request = new HTTP\Request('HEAD', '/test.txt');
65 $request = new HTTP\Request('PUT', '/testput.txt');
85 $request = new HTTP\Request('PUT', '/test.txt', ['If-None-Match' => '*']);
102 $request = new HTTP\Request('MKCOL', '/testcol');
119 $request = new HTTP\Request('PUT', '/test.txt');
134 $request = new HTTP\Request('DELETE', '/test.txt');
154 $request = new HTTP\Request('DELETE', '/testcol');
170 $request = new HTTP\Request('OPTIONS', '/');
192 $request = new HTTP\Request('MOVE', '/test.txt', ['Destination' => '/testcol/test2.txt']);
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PartialUpdate/
H A DPluginTest.php57 $request = new HTTP\Request('PATCH', '/', ['X-Update-Range' => '3-4']);
70 $request = new HTTP\Request('PATCH', '/partial', ['X-Update-Range' => 'bytes=3-4']);
83 …$request = new HTTP\Request('PATCH', '/partial', ['X-Update-Range' => 'bytes=3-4', 'Content-Type' …
96 …$request = new HTTP\Request('PATCH', '/partial', ['X-Update-Range' => 'bytes=3-5', 'Content-Type' …
109 …$request = new HTTP\Request('PATCH', '/partial', ['X-Update-Range' => 'bytes=3-5', 'Content-Type' …
123 …$request = new HTTP\Request('PATCH', '/partial', ['X-Update-Range' => 'bytes=3-', 'Content-Type' =…
/plugin/davcal/vendor/sabre/http/
H A DCHANGELOG.md42 * #41: Fixing bugs related to comparing URLs in `Request::getPath()`.
44 * Added `421 Misdirected Request` from the HTTP/2.0 spec.
65 * Hiding `Authorization` header value from `Request::__toString`.
96 * Use `Request::getHeaderAsArray()` and `Response::getHeaderAsArray()` to
147 * Removed: Request::createFromPHPRequest. This is now handled by
166 * Changed: Request::createFromPHPRequest is now Sapi::getRequest().
214 * Added: Request::setRawServerArray, getRawServerValue.
215 * Added: Request::createFromPHPRequest
217 * Added: Request::getQueryParameters
219 * Added: Request::setPostData and Request::getPostData.
[all …]
/plugin/webdav/vendor/sabre/http/
H A DCHANGELOG.md75 * #41: Fixing bugs related to comparing URLs in `Request::getPath()`.
77 * Added `421 Misdirected Request` from the HTTP/2.0 spec.
98 * Hiding `Authorization` header value from `Request::__toString`.
129 * Use `Request::getHeaderAsArray()` and `Response::getHeaderAsArray()` to
180 * Removed: Request::createFromPHPRequest. This is now handled by
199 * Changed: Request::createFromPHPRequest is now Sapi::getRequest().
247 * Added: Request::setRawServerArray, getRawServerValue.
248 * Added: Request::createFromPHPRequest
250 * Added: Request::getQueryParameters
252 * Added: Request::setPostData and Request::getPostData.
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DJCalTransformTest.php5 use Sabre\HTTP\Request; alias
33 $request = new Request('GET', '/calendars/user1/foo/bar.ics', $headers);
74 $request = new Request('REPORT', '/calendars/user1/foo', $headers, $xml);
127 $request = new Request('REPORT', '/calendars/user1/foo', $headers, $xml);
180 $request = new Request('REPORT', '/calendars/user1/foo/bar.ics', $headers, $xml);
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Exception/Connection/
H A DHttpException.php6 use Elastica\Request; alias
27 * @param Request $request
30 public function __construct($error, Request $request = null, Response $response = null)

123456789