Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Set-Cookie header

  • Loading branch information...
commit 03cb431916d6c4ee73297251b6e02a8e046d278b 1 parent 93d56c2
@ConradIrwin ConradIrwin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  cors-test/cors_test.py
View
2  cors-test/cors_test.py
@@ -19,6 +19,8 @@ def get(self):
add_header("Access-Control-Allow-Credentials", "true")
+ add_header('Set-Cookie', 'test=test')
+
add_header('Cache-Control', 'no-cache')
add_header('Expires', 'Fri, 01 Jan 1990 00:00:00 GMT')
self.response.headers['Content-Type'] = 'application/json'
Please sign in to comment.
Something went wrong with that request. Please try again.