|
|
|
@ -164,7 +164,7 @@ class ResponseTest extends TestCase
|
|
|
|
|
$response->cache(false);
|
|
|
|
|
$this->assertEquals([
|
|
|
|
|
'Expires' => 'Mon, 26 Jul 1997 05:00:00 GMT',
|
|
|
|
|
'Cache-Control' => 'no-store, no-cache, must-revalidate',
|
|
|
|
|
'Cache-Control' => 'no-store, no-cache, must-revalidate, max-age=0',
|
|
|
|
|
'Pragma' => 'no-cache'
|
|
|
|
|
], $response->headers());
|
|
|
|
|
}
|
|
|
|
@ -269,7 +269,7 @@ class ResponseTest extends TestCase
|
|
|
|
|
'Content-Type: text/html',
|
|
|
|
|
'X-Test: test',
|
|
|
|
|
'Expires: Mon, 26 Jul 1997 05:00:00 GMT',
|
|
|
|
|
'Cache-Control: no-store, no-cache, must-revalidate',
|
|
|
|
|
'Cache-Control: no-store, no-cache, must-revalidate, max-age=0',
|
|
|
|
|
'Pragma: no-cache',
|
|
|
|
|
'Content-Length: 9'
|
|
|
|
|
], $sent_headers);
|
|
|
|
|