You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
astro seems to handle OPTIONS requests incorrectly by not responding with the correct headers and sending the same response as if one had sent a GET request. The HTTP spec (RFC9110) says:
A server generating a successful response to OPTIONS SHOULD send any header that might indicate optional features implemented by the server and applicable to the target resource (e.g., Allow), including potential extensions not defined by this specification. The response content, if any, might also describe the communication options in a machine or human-readable representation. A standard format for such a representation is not defined by this specification, but might be defined by future extensions to HTTP.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
astro seems to handle OPTIONS requests incorrectly by not responding with the correct headers and sending the same response as if one had sent a GET request. The HTTP spec (RFC9110) says:
What's the expected result?
What actually happened:
This is the result of related to bug #13079 which will be fixed by #13101
But even with #13000 the result is wrong:
Note that prerendered pages result in the correct response:
Link to Minimal Reproducible Example
N/A
Participation
The text was updated successfully, but these errors were encountered: