The Accept-Post
response HTTP header advertises which media types are accepted by the server for HTTP post requests.
Accept-Post
in response to any method means that POST
is allowed on the requested resource (any document/media format in the header further indicates that the document format is allowed).
For example, a server receiving a POST
request with an unsupported media type could reply with 415
Unsupported Media Type
and an Accept-Post
header referencing one or more supported media types.
Note: An IANA registry maintains a complete list of official content encodings.
Header type | Response header |
---|---|
Forbidden header name | yes |