Skip to content
Snippets Groups Projects
Commit 0d157217 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

don't send a lower case content-type header when forwarding

parent 3d20ec65
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ module.exports = function(dest, req, res, cb) { ...@@ -39,7 +39,7 @@ module.exports = function(dest, req, res, cb) {
}); });
if (req.headers['content-type']) { if (req.headers['content-type']) {
preq.setHeader('content-type', req.headers['content-type']); preq.setHeader('Content-Type', req.headers['content-type']);
} }
// forward cookies // forward cookies
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment