Permalink
Browse files

Expose User-Agent header in ConnectionInfo

  • Loading branch information...
1 parent 8a3637d commit 01f0d21873d2ab8bd866f6222b985ae5c8358ac4 @slauwers slauwers committed Jul 15, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 sockjs/cyclone/conn.py
View
@@ -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):

0 comments on commit 01f0d21

Please sign in to comment.