From 0d157217b493dc20d6c13d3d0ef566eaa7d46a43 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 14 Nov 2011 14:50:23 -0700
Subject: [PATCH] don't send a lower case content-type header when forwarding

---
 lib/http_forward.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/http_forward.js b/lib/http_forward.js
index d49962e21..95db6a13a 100644
--- a/lib/http_forward.js
+++ b/lib/http_forward.js
@@ -39,7 +39,7 @@ module.exports = function(dest, req, res, cb) {
   });
 
   if (req.headers['content-type']) {
-    preq.setHeader('content-type', req.headers['content-type']);
+    preq.setHeader('Content-Type', req.headers['content-type']);
   }
 
   // forward cookies
-- 
GitLab