Skip to content

Commit

Permalink
Merge pull request #212 from mitar/patch-1
Browse files Browse the repository at this point in the history
Added do-not-track header to whitelisted list of headers
  • Loading branch information
brycekahle committed Oct 12, 2017
2 parents e91aabb + 99fb0f6 commit 5dae15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport.coffee
Expand Up @@ -133,7 +133,7 @@ class Session
for key in ['referer', 'x-client-ip', 'x-forwarded-for', \
'x-forwarded-host', 'x-forwarded-port', \
'x-cluster-client-ip', 'via', 'x-real-ip', \
'x-forwarded-proto', 'x-ssl', \
'x-forwarded-proto', 'x-ssl', 'dnt', \
'host', 'user-agent', 'accept-language']
headers[key] = req.headers[key] if req.headers[key]
if headers
Expand Down

0 comments on commit 5dae15a

Please sign in to comment.