mirror of https://github.com/zulip/zulip.git
986706c7e5
This fixes a bug where our asynchronous requests were only copying the Content-Type header (i.e. the one case where we're noticed) from the Django HttpResponse. I'm not sure what the impact of this would be; the rate-limiting headers rarely come up when breaking a long-polled request. But it seems clearly an improvement to do this in a consistent fashion. Only the headers piece is a change; in Tornado self.finish(x) is equivalent to: self.write(x) self.finish() |
||
---|---|---|
.. | ||
__init__.py | ||
application.py | ||
autoreload.py | ||
descriptors.py | ||
event_queue.py | ||
exceptions.py | ||
handlers.py | ||
ioloop_logging.py | ||
sharding.py | ||
views.py |