encoredev / encore

Open Source Development Platform for building robust type-safe distributed systems with declarative infrastructure
https://encore.dev
Mozilla Public License 2.0
7.76k stars 330 forks source link

CORS fixes #1587

Open fredr opened 5 days ago

fredr commented 5 days ago

This ports the test cases from the go runtime to the rust runtime and makes them pass.

It also adds a check on OPTIONS requests on access-control-request-headers to check if its a request with credentials, as the authorization header is not passed on OPTIONS requests.

encore-cla[bot] commented 5 days ago

All committers have signed the CLA.