Lines Matching refs:response
35 $response = $this->request($request);
37 $this->assertEquals(200, $response->getStatus());
40 $response->removeHeader('Last-Modified');
49 $response->getHeaders()
52 $this->assertEquals('foo', $response->getBodyAsString());
60 $response = $this->request($request);
62 $this->assertEquals(200, $response->getStatus());
65 $response->removeHeader('Last-Modified');
74 $response->getHeaders()
77 $this->assertEquals('1.0', $response->getHttpVersion());
79 $this->assertEquals('foo', $response->getBodyAsString());
86 $response = $this->request($request);
88 $this->assertEquals(404, $response->getStatus());
95 $response = $this->request($request);
97 $this->assertEquals(404, $response->getStatus());
107 $response = $this->request($request);
109 $this->assertEquals(200, $response->getStatus());
112 $response->removeHeader('Last-Modified');
121 $response->getHeaders()
124 $this->assertEquals('foo', $response->getBodyAsString());
131 $response = $this->request($request);
133 $this->assertEquals(501, $response->getStatus());
140 $response = $this->request($request);
142 $this->assertEquals(200, $response->getStatus());
145 $response->removeHeader('Last-Modified');
152 $response->getHeaders()
155 $this->assertEquals('stream', $response->getBodyAsString());