Open In App

HTTP headers | Allow

The HTTP Allow header is an Entity-type header that specifies the valid methods that are supported by a resource. It is used in response for a 405 Method not allowed. If this header is empty it means the resource does not allow any request methods.

Syntax:



Allow: <http-methods>

Directives: The HTTP Allow header accepts a single directive mentioned above and described below:

Examples:



To check this Allow in action go to Inspect Element -> Network check the header for Allow like below.

Supported browsers: The browsers compatible with HTTP Allow header are listed below:

Article Tags :