bepsvpt/secure-headers

When handling a StreamedResponse, it fails on the missing method header()

WesleyE opened this issue · 0 comments

This happens when streaming a file to the browser, for example. The header() method is not available on that request type.

Call to undefined method Symfony\Component\HttpFoundation\StreamedResponse::header()