diff options
Diffstat (limited to 'vendor/symfony/http-foundation/StreamedResponse.php')
| -rw-r--r-- | vendor/symfony/http-foundation/StreamedResponse.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/symfony/http-foundation/StreamedResponse.php b/vendor/symfony/http-foundation/StreamedResponse.php index 92868d33e4..1fb2b46af8 100644 --- a/vendor/symfony/http-foundation/StreamedResponse.php +++ b/vendor/symfony/http-foundation/StreamedResponse.php @@ -141,4 +141,16 @@ class StreamedResponse extends Response { return false; } + + /** + * {@inheritdoc} + * + * @return $this + */ + public function setNotModified() + { + $this->setCallback(function () {}); + + return parent::setNotModified(); + } } |
