starlette icon indicating copy to clipboard operation
starlette copied to clipboard

Add handling of Authorization header in CORS requests

Open ShreySinha02 opened this issue 2 years ago • 3 comments

Summary

if the allow_credential is true then handle the Authorization header in CORS request

Checklist

  • [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [x] I've updated the documentation accordingly.

ShreySinha02 avatar Feb 12 '24 07:02 ShreySinha02

Please create a discussion, or provide references.

Kludex avatar Feb 12 '24 07:02 Kludex

Related to https://github.com/encode/starlette/issues/1832, I guess?

Kludex avatar Feb 12 '24 20:02 Kludex

Related to #1832, I guess?

yes,this one is related to #1823.

ShreySinha02 avatar Feb 14 '24 10:02 ShreySinha02