Replies: 1 comment
-
This is working as expected: since
If you use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Version
tower-http: 0.4.3
Platform
win10-64bit pro
Crates
axum 0.6.19
http 0.2.9
Description
AllowOrigin::list does not function as expected
I tried this code:
I expected to see this happen:
when I curl as :curl -X OPTIONS http://127.0.0.1:3000/aaa -vvv, expected there is an response header:
access-control-allow-origin: http://127.0.0.1:3000
Instead, this happened:
but if I use AllowOrigin::list(),then I see no access-control-allow-origin response header.
Beta Was this translation helpful? Give feedback.
All reactions