diff options
author | Quentin Gliech <quenting@element.io> | 2024-11-26 19:43:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-26 19:43:26 +0100 |
commit | cee9da0da53ba9d04fbb989e2b35108266b2e787 (patch) | |
tree | 7f46e6e4f54857e65f12c53ee95cbe6a944db2f1 /rust/src/errors.rs | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-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