Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

properly set header value, remove check for cookie

  • Loading branch information...
commit 7c4111a9dbaff435f62289595b161243611eb965 1 parent 251ff7c
@fredrocious fredrocious authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  tornadio/polling.py
View
3  tornadio/polling.py
@@ -96,8 +96,7 @@ def preflight(self):
self.set_header('Access-Control-Allow-Origin',
self.request.headers['Origin'])
- if self.request.headers.has_key('Cookie'):
- self.set_header('Access-Control-Allow-Credentials', True)
+ self.set_header('Access-Control-Allow-Credentials', 'true')
return True
else:
Please sign in to comment.
Something went wrong with that request. Please try again.