summary refs log tree commit diff
path: root/rust/src/errors.rs
diff options
context:
space:
mode:
authorQuentin Gliech <quenting@element.io>2024-11-26 19:43:26 +0100
committerGitHub <noreply@github.com>2024-11-26 19:43:26 +0100
commitcee9da0da53ba9d04fbb989e2b35108266b2e787 (patch)
tree7f46e6e4f54857e65f12c53ee95cbe6a944db2f1 /rust/src/errors.rs
parentMerge branch 'master' into develop (diff)
downloadsynapse-cee9da0da53ba9d04fbb989e2b35108266b2e787.tar.xz
MSC4108: Add a Content-Type header on the PUT response (#17253)
This is a workaround for some proxy setup, where the ETag header gets
stripped from the response headers unless there is a Content-Type header
set.

In particular, we saw this bug when putting Cloudflare in front of
Synapse.
I'm pretty sure this is a Cloudflare bug, as this behaviour isn't
documented anywhere, and doesn't make sense whatsoever.

---------

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'rust/src/errors.rs')
0 files changed, 0 insertions, 0 deletions