Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upstream: Forward Content-Type from upstream if we don't already have…
… one For example, our RESTful endpoints perform content negotiation and use the result to determine Content-Type (and also what to Accept in the request to upstream), but our Charon endpoints do not set Content-Type at all. Set it based on the upstream response in that situation. I noticed this bug (while investigating another issue¹) because the automatic compression middleware wasn't applying to the /charon/getDataset endpoint due to the lack of Content-Type. ¹ <#832>
- Loading branch information