mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-24 08:10:40 -04: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>
1 line
73 B
Text
1 line
73 B
Text
Fix missing `Content-Length` on HTTP responses from the metrics handler.
|