8000 Merge pull request #31 from thorlarholm/master · pythonanywhere/tornadio2@4d18fd9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d18fd9

Browse files
committed
Merge pull request mrjoes#31 from thorlarholm/master
Pull request for issue 30
2 parents db43803 + 6019807 commit 4d18fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tornadio2/preflight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def preflight(self):
4040
self.request.headers['Origin'])
4141

4242
if 'Cookie' in self.request.headers:
43-
self.set_header('Access-Control-Allow-Credentials', True)
43+
self.set_header('Access-Control-Allow-Credentials', 'true')
4444

4545
self.set_header('Access-Control-Allow-Methods', 'POST, GET, OPTIONS')
4646

0 commit comments

Comments
 (0)
0