Merge pull request #1375 from spwoodcock/docs/allowed-methods-post

[DOCS] add comment to ALLOWED_METHODS section about enabling HTTP POST
This commit is contained in:
Florian Pitance 2024-09-17 12:11:52 +02:00 committed by GitHub
commit 15fa91d53e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,6 +41,10 @@ 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 Using POST
If `POST` is required, then `OPTIONS` should also be specified to allow for the CORS pre-flight request.
### Max sizes
STREAM support :x: