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

fixes blocking cors issues #803

Merged
merged 3 commits into from
May 27, 2018
Merged

fixes blocking cors issues #803

merged 3 commits into from
May 27, 2018

Conversation

fridgerator
Copy link
Contributor

@fridgerator fridgerator commented May 19, 2018

Description of the Change

Fixes #799

  • Headers::ALLOW_METHOD should be plural link

  • memoized @_preflight variable was being used across multiple requests

@faustinoaq @eliasjpr just made the 2nd change related to the @_preflight variable

Benefits

CORS pipe can be used with api / spa applications.

Possible Drawbacks

None

Copy link
Contributor

@eliasjpr eliasjpr left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@robacarp robacarp left a comment

Choose a reason for hiding this comment

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

Could there be a test around the cross-request CORS issue?

@fridgerator
Copy link
Contributor Author

fridgerator commented May 25, 2018

Added a spec to check CORS response headers, including the header modified by this PR

@drujensen drujensen merged commit 6e6bbbf into master May 27, 2018
@drujensen drujensen deleted the nf/cors_issues branch May 27, 2018 15:48
@faustinoaq faustinoaq added this to the Version 0.8.0 milestone Jun 21, 2018
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.

5 participants