Name
Allow
Synopsis
The Allow header is used to inform clients what HTTP methods are supported on a particular resource.
Type
Response header
Notes
An HTTP/1.1 server sending a 405 Method Not Allowed response must include an Allow header.[3]
Basic Syntax
Allow: #Method
Example
Allow: GET, HEAD
[3] See Section 3.4 for more on the 405 status code.
Get HTTP: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.