No CORS headers (even running example)
tennox opened this issue · comments
Manuel commented
I'm trying to get this to work, but don't have any CORS headers in my responses.
At some point I tried the example: cargo run --example fairing
in this repo, but to no avail 😢 .
Am I misunderstanding something?
❯ http GET http://localhost:8000/
HTTP/1.1 200 OK
content-length: 10
content-type: text/plain; charset=utf-8
date: Sat, 25 Nov 2023 10:10:22 GMT
permissions-policy: interest-cohort=()
server: Rocket
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
Hello CORS
Manuel commented
Ah, my client is not sending Origin
header.