Lines Matching refs:request
9 $request = Sapi::createFromServerArray([
18 $this->assertEquals('GET', $request->getMethod());
19 $this->assertEquals('/foo', $request->getUrl());
24 ], $request->getHeaders());
26 $this->assertEquals('1.0', $request->getHttpVersion());
28 $this->assertEquals('400', $request->getRawServerValue('CONTENT_LENGTH'));
29 $this->assertNull($request->getRawServerValue('FOO'));
35 $request = Sapi::createFromServerArray([
42 $this->assertEquals('GET', $request->getMethod());
43 $this->assertEquals('/foo', $request->getUrl());
46 ], $request->getHeaders());
52 $request = Sapi::createFromServerArray([
58 $this->assertEquals('GET', $request->getMethod());
59 $this->assertEquals('/foo', $request->getUrl());
62 ], $request->getHeaders());
68 $request = Sapi::createFromServerArray([
74 $this->assertEquals('GET', $request->getMethod());
75 $this->assertEquals('/foo', $request->getUrl());
78 ], $request->getHeaders());