mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
The Session middleware only adds `Vary: cookie` if it sees an access to the from inside of it. Because we are effectively, from the Django session middleware's point of view, returning the static content of `request.saved_response` and never accessing the session, it does not set `Vary: cookie` on longpoll requests. Explicitly mark Tornado requests as varying by cookie.
4.4 KiB
4.4 KiB