Allow header
The HTTPAllowresponse header lists the set ofrequest methods supported by a resource.This header must be sent if the server responds with a405 Method Not Allowed status code to indicate which request methods can be used instead.An emptyAllow value indicates that the resource allows no request methods, which might occur temporarily for a given resource.
| Header type | Response header |
|---|
In this article
Syntax
http
Allow: <http-methods>Directives
<http-methods>A comma-separated list of allowed request methods supported by a resource.
Examples
http
Allow: GET, POST, HEADSpecifications
| Specification |
|---|
| HTTP Semantics> # field.allow> |
See also
405 Method Not Allowedstatus codeServerOPTIONS