Permalink
Browse files

Merge pull request #105 from jcheng5/patch-1

Add 'host' header to connection objects
  • Loading branch information...
2 parents 14dbe16 + 8b03b3b commit e3d36959cb42b1b6f9931cf0939c6f4b6ccc07cc @majek majek committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/transport.coffee
View
@@ -130,7 +130,7 @@ class Session
headers = {}
for key in ['referer', 'x-client-ip', 'x-forwarded-for', \
- 'x-cluster-client-ip', 'via', 'x-real-ip']
+ 'x-cluster-client-ip', 'via', 'x-real-ip', 'host']
headers[key] = req.headers[key] if req.headers[key]
if headers
@connection.headers = headers

0 comments on commit e3d3695

Please sign in to comment.