mirror of https://github.com/zulip/zulip.git
4f6fc728cd
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. |
||
---|---|---|
.. | ||
__init__.py | ||
application.py | ||
autoreload.py | ||
descriptors.py | ||
django_api.py | ||
event_queue.py | ||
exceptions.py | ||
handlers.py | ||
ioloop_logging.py | ||
sharding.py | ||
views.py |