Skip to content

Commit

Permalink
Added do-not-track header to whitelisted list of headers.
Browse files Browse the repository at this point in the history
Fixes: #211
  • Loading branch information
mitar committed Aug 21, 2016
1 parent 959d567 commit c14d401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class Session
headers = {}
for key in ['referer', 'x-client-ip', 'x-forwarded-for', \
'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 c14d401

Please sign in to comment.