We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f910b9 commit 59419abCopy full SHA for 59419ab
src/Symfony/Component/HttpFoundation/Tests/EventStreamResponseTest.php
@@ -29,6 +29,14 @@ public function testInitializationWithDefaultValues()
29
$this->assertNull($response->getRetry());
30
}
31
32
+ public function testPresentOfExpiresHeader()
33
+ {
34
+ $response = new EventStreamResponse();
35
+
36
+ $this->assertTrue($response->headers->has('Expires'));
37
+ $this->assertSame('0', $response->headers->get('Expires'));
38
+ }
39
40
public function testStreamSingleEvent()
41
{
42
$response = new EventStreamResponse(function () {
0 commit comments