You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I have found that setNotModified() method empties the content, but StreamedResponse class uses a callback for the output, so when the response returns a 304 code, it will output the content too, when it shouldn't.
Possible Solution
I think the method setNotModified() should be overriden by StreamedResponse class, and there set an empty closure as callback.