Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/http/headers/allow/index.md
6532 views
---
title: Allow slug: Web/HTTP/Headers/Allow spec-urls: https://httpwg.org/specs/rfc9110.html#field.allow
---

{{HTTPSidebar}}

The Allow header lists the set of methods supported by a resource.

This header must be sent if the server responds with a {{HTTPStatus("405")}} Method Not Allowed status code to indicate which request methods can be used. An empty Allow header indicates that the resource allows no request methods, which might occur temporarily for a given resource, for example.

Header type {{Glossary("Response header")}}
{{Glossary("Forbidden header name")}} no

Syntax

Allow: <http-methods>

Directives

Examples

Allow: GET, POST, HEAD

Specifications

{{Specifications}}

See also

  • {{HTTPStatus("405")}}

  • {{HTTPHeader("Server")}}