-
I tried the example of returning an OPTIONS response to * but I couldn't get it to work, I always just get a 405 response...
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@pfk84 This is an interesting one, thanks for bringing this up! The framework-x/tests/acceptance.sh Line 103 in 12fb355 To the best of my knowledge, this works just fine across different web servers. Only nginx is known to reject I hope this helps 👍 If the problem persists, can you give more detailed instructions on how to reproduce the problem you're seeing? (Refs #46) |
Beta Was this translation helpful? Give feedback.
@pfk84 This is an interesting one, thanks for bringing this up!
The
OPTIONS *
request is supported just fine by X and is covered both by unit tests and additional integration tests. In particular, this is also verified on different web servers as part of our CI setup:framework-x/tests/acceptance.sh
Line 103 in 12fb355
To the best of my knowledge, this works just fine across different web servers. Only nginx is known to reject
OPTIONS *
requests with a400 Bad Request
response, so these requests would never even end up being passed to X. See also th…