forked-synapse/synapse/http
Sean Quah 0b684b59e5
Fix logging of incorrect status codes for disconnected requests (#12580)
The status code of requests must always be set, regardless of client
disconnection, otherwise they will always be logged as 200!.

Broken for `respond_with_json` in
f48792eec4.
Broken for `respond_with_json_bytes` in
3e58ce72b4.
Broken for `respond_with_html_bytes` in
ea26e9a98b.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-28 15:49:50 +00:00
..
federation Add missing type hints to synapse.logging.context (#11556) 2021-12-14 17:35:28 +00:00
__init__.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
additional_resource.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
client.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00
connectproxyclient.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
matrixfederationclient.py Implement MSC3383: include destination in X-Matrix auth header (#11398) 2022-04-19 16:23:53 +01:00
proxyagent.py Bump black and click versions (#12320) 2022-03-29 10:41:19 +00:00
request_metrics.py Type hints for the remaining two files in synapse.http. (#11164) 2021-10-28 14:14:42 +01:00
server.py Fix logging of incorrect status codes for disconnected requests (#12580) 2022-04-28 15:49:50 +00:00
servlet.py Add missing type hints to synapse.http. (#11571) 2021-12-14 07:00:47 -05:00
site.py Don't print HTTPStatus.* in "Processed..." logs (#11827) 2022-01-26 12:47:34 +00:00
types.py Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00