Skip to content
Browse files

Fixing preflight to work properly with socketio/socket.io-client#333

  • Loading branch information...
1 parent db43803 commit 6019807736724e668aa3521cb88c2bdbeb743a48 @thorlarholm thorlarholm committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornadio2/preflight.py
View
2 tornadio2/preflight.py
@@ -40,7 +40,7 @@ def preflight(self):
self.request.headers['Origin'])
if 'Cookie' in self.request.headers:
- self.set_header('Access-Control-Allow-Credentials', True)
+ self.set_header('Access-Control-Allow-Credentials', 'true')
self.set_header('Access-Control-Allow-Methods', 'POST, GET, OPTIONS')

0 comments on commit 6019807

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