Skip to content
Browse files

Merge pull request #41 from ecksor/master

fix for cross site authentication
  • Loading branch information...
2 parents 251ff7c + 7c4111a commit cae72634113139b6003d869ba3f95054c1b9513f @mrjoes committed Dec 14, 2011
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:

0 comments on commit cae7263

Please sign in to comment.
Something went wrong with that request. Please try again.