Browse files

properly set header value, remove check for cookie

  • Loading branch information...
1 parent 251ff7c commit 7c4111a9dbaff435f62289595b161243611eb965 @fredrocious fredrocious 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 7c4111a

Please sign in to comment.