mirror of
https://github.com/element-hq/synapse
synced 2024-07-15 17:34:05 +00:00
HTTP requires the response to contain a Content-Length header unless chunked encoding is being used. Prometheus metrics endpoint did not set this, causing software such as prometheus-proxy to not be able to scrape synapse for metrics. Signed-off-by: Christian Svensson <blue@cmd.nu>
2 lines
73 B
Plaintext
2 lines
73 B
Plaintext
Fix missing `Content-Length` on HTTP responses from the metrics handler.
|