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

🐛 Expose version header for CORS #255

Merged
merged 1 commit into from
Mar 19, 2021
Merged

Conversation

wwilsman
Copy link
Contributor

What is this?

With most responses, all headers in the request response are included in the response object. In browsers however, the Access-Control-Expose-Headers header is strictly respected and if that header does not exist, or the desired header is not defined within it, the response object will not contain all response headers.

Adding this header will allow SDKs within browsers to access the version header exposed by the local Percy server API.

Depends on #252, #253, & #254

@wwilsman wwilsman added the 🐛 bug Something isn't working label Mar 19, 2021
@wwilsman wwilsman requested a review from Robdel12 March 19, 2021 17:10
Copy link
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

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

🏁

@wwilsman wwilsman force-pushed the ww/fix-remote-logger-handler-cleanup branch from b1a48ea to 9a5e59c Compare March 19, 2021 18:10
Base automatically changed from ww/fix-remote-logger-handler-cleanup to master March 19, 2021 18:18
@wwilsman wwilsman force-pushed the ww/cors-exposed-headers branch from 834f6a5 to 68b99b9 Compare March 19, 2021 18:21
@wwilsman wwilsman enabled auto-merge (squash) March 19, 2021 18:21
@wwilsman wwilsman merged commit 6796d35 into master Mar 19, 2021
@wwilsman wwilsman deleted the ww/cors-exposed-headers branch March 19, 2021 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants