zulip/zerver/tornado
Tim Abbott 986706c7e5 tornado: Use common code for copying headers.
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()
2020-02-07 16:14:19 -08:00
..
__init__.py
application.py dependencies: Remove WebSockets system for sending messages. 2020-01-14 22:34:00 -08:00
autoreload.py tornado: Fix bugs in Tornado autoreload library. 2019-08-02 12:47:49 -07:00
descriptors.py typing: Use TYPE_CHECKING when dealing with cyclic dependencies. 2019-07-31 12:19:39 -07:00
event_queue.py event_queue: Fix confusing event_queue.push interface. 2020-02-05 12:40:01 -08:00
exceptions.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
handlers.py tornado: Use common code for copying headers. 2020-02-07 16:14:19 -08:00
ioloop_logging.py mypy: Fix missing type annotation in tornado code. 2018-11-20 19:08:14 -08:00
sharding.py dependencies: Remove WebSockets system for sending messages. 2020-01-14 22:34:00 -08:00
views.py presence: Add slim_presence flag. 2020-02-04 12:30:34 -08:00