Skip to content

Commit

Permalink
Merge pull request #400 from claws/add_more_access_control_headers
Browse files Browse the repository at this point in the history
Add more CORS headers
  • Loading branch information
asvetlov committed Jun 7, 2015
2 parents 0bf810e + f2756ed commit 3aa335c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Anton Kasyanov
Arthur Darcet
Ben Bader
Brian C. Lane
Chris Laws
Daniel Nelson
David Michael Brown
Dima Veselov
Expand Down
2 changes: 2 additions & 0 deletions aiohttp/hdrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
ACCESS_CONTROL_ALLOW_HEADERS = upstr('ACCESS-CONTROL-ALLOW-HEADERS')
ACCESS_CONTROL_ALLOW_METHODS = upstr('ACCESS-CONTROL-ALLOW-METHODS')
ACCESS_CONTROL_ALLOW_ORIGIN = upstr('ACCESS-CONTROL-ALLOW-ORIGIN')
ACCESS_CONTROL_EXPOSE_HEADERS = upstr('ACCESS-CONTROL-EXPOSE-HEADERS')
ACCESS_CONTROL_REQUEST_HEADERS = upstr('ACCESS-CONTROL-REQUEST-HEADERS')
ACCESS_CONTROL_REQUEST_METHOD = upstr('ACCESS-CONTROL-REQUEST-METHOD')
AGE = upstr('AGE')
ALLOW = upstr('ALLOW')
AUTHORIZATION = upstr('AUTHORIZATION')
Expand Down

0 comments on commit 3aa335c

Please sign in to comment.