docs: add note that POST must be used with OPTIONS in ALLOWED_METHODS

This commit is contained in:
spwoodcock 2024-07-23 15:11:21 +01:00
parent c1a4c2a9c1
commit 7c7446f736

View file

@ -41,6 +41,8 @@ STREAM support :x:
You can control the allowed HTTP methods by listing them (separated with "|") in the `ALLOWED_METHODS` setting (default : `GET|POST|HEAD`). Clients sending a method which is not listed will get a "405 - Method Not Allowed".
Note that if `POST` is required, then `OPTIONS` should also be specified to allow for the CORS pre-flight request.
### Max sizes
STREAM support :x: