Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows some needed headers in CORS preflight requests #841

Merged
merged 1 commit into from Mar 31, 2017
Merged

Allows some needed headers in CORS preflight requests #841

merged 1 commit into from Mar 31, 2017

Conversation

noirbizarre
Copy link
Contributor

This PR ensure headers used by udata API are authorized in CORS preflight requests.

@@ -33,6 +33,14 @@
DEFAULT_PAGE_SIZE = 50
HEADER_API_KEY = 'X-API-KEY'

# TODO: make upstream flask-restplus automatically handle
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@noirbizarre noirbizarre merged commit c5e91c2 into opendatateam:master Mar 31, 2017
@noirbizarre noirbizarre deleted the cors-preflight-headers branch March 31, 2017 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants