Thanks to visit codestin.com
Credit goes to github.com

Skip to content

✏️ Clarify docs on CORS#5627

Merged
tiangolo merged 1 commit into
fastapi:masterfrom
paxcodes:docs/cors
Nov 13, 2022
Merged

✏️ Clarify docs on CORS#5627
tiangolo merged 1 commit into
fastapi:masterfrom
paxcodes:docs/cors

Conversation

@paxcodes

Copy link
Copy Markdown
Contributor

Based on Issue #1090, I propose a change to the docs to:

The Accept, Accept-Language, Content-Language and Content-Type headers are always allowed for CORS requests.
The Accept, Accept-Language, Content-Language and Content-Type headers are always allowed for simple CORS requests.

@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit d801312 at: https://63704f0413b9ce57cf82080f--fastapi.netlify.app

@iudeen iudeen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Agreed. This seems to clarify

@tiangolo tiangolo changed the title ✏️ Clarify docs on cors ✏️ Clarify docs on CORS Nov 13, 2022
@tiangolo tiangolo merged commit fc717f8 into fastapi:master Nov 13, 2022
@tiangolo

Copy link
Copy Markdown
Member

Awesome, thanks @paxcodes ! 🍰

And thanks for the help @iudeen 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants