Skip to content

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

Merged
alexforsyth merged 1 commit intomasterfrom
alexfors/fetch-cors
Jun 5, 2020
Merged

feat(fetch-http-handler): remove cors mode for fetch#1239
alexforsyth merged 1 commit intomasterfrom
alexfors/fetch-cors

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

@alexforsyth alexforsyth requested a review from AllanZhengYP June 4, 2020 16:46
@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.

3 participants