Skip to content

Conversation

@jcoyne
Copy link
Contributor

@jcoyne jcoyne commented Oct 8, 2025

The Allow header is not for a list of methods. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Allow

When 405 is returned, then Allow is required to be provided and be a list of methods: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/405

@jcoyne jcoyne force-pushed the fix-options-header branch from 82bd333 to 43f50ad Compare October 8, 2025 19:16
@jcoyne jcoyne marked this pull request as ready for review October 8, 2025 19:16
@jcoyne jcoyne force-pushed the fix-options-header branch from 43f50ad to d38bcba Compare October 8, 2025 19:32
The Allow header is not for a list of methods. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept

When 405 is returned, then Allow is required to be provided and be a list of methods: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/405
@jcoyne jcoyne force-pushed the fix-options-header branch from d38bcba to 71ccf33 Compare October 8, 2025 20:27
@glenrobson
Copy link
Contributor

I think Allow is allowed for an OPTIONS request: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods/OPTIONS#examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants