Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #7 from INTERACT-IV/expose-user-agent

Expose User-Agent header in ConnectionInfo
  • Loading branch information...
commit a19697819239df632a0900084e8c293d7b6aa92a 2 parents 8a3637d + 01f0d21
@flaviogrossi authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  sockjs/cyclone/conn.py
View
3  sockjs/cyclone/conn.py
@@ -23,7 +23,8 @@ class ConnectionInfo(object):
"""
_exposed_headers = set( ('origin', 'referer', 'x-client-ip',
- 'x-forwarded-for', 'x-cluster-client-ip')
+ 'x-forwarded-for', 'x-cluster-client-ip',
+ 'user-agent')
)
def __init__(self, ip, cookies, arguments, headers, path):
Please sign in to comment.
Something went wrong with that request. Please try again.