Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSC4108: Add a Content-Type header on the PUT response (element-hq#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 <[email protected]>
- Loading branch information