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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fetch-http-handler): remove cors mode for fetch #1239

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

alexforsyth
Copy link
Contributor

Issue #, if available:
#1165

Description of changes:
Removed the default mode to cors as this may not work in all environments like the browser. Added browser test to cover this. First PR please be kind 馃檹

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • CodeBuild project: sdk-staging-test
  • Commit ID: 69f956d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@AllanZhengYP
Copy link
Contributor

Merge with the caveat that we need to ensure new Request(uri).mode === 'cors' for all the supported browsers. This should covered by E2E tests.

@alexforsyth alexforsyth merged commit f3853ab into master Jun 5, 2020
@alexforsyth alexforsyth deleted the alexfors/fetch-cors branch June 5, 2020 23:24
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants