Spec-Zone.ru › HTTP

Headers: Allow

Allow header

The HTTP Allow response header lists the set of request methods supported by a resource. This header must be sent if the server responds with a 405 Method Not Allowed status code to indicate which request methods can be used instead. An empty Allow value indicates that the resource allows no request methods, which might occur temporarily for a given resource.

Header type Response header

Syntax

Allow: <http-methods>

Directives

<http-methods>

A comma-separated list of allowed request methods supported by a resource.

Examples

Allow: GET, POST, HEAD

Specifications

Specification
HTTP Semantics>
# field.allow>

See also

  • 405 Method Not Allowed status code
  • Server
  • OPTIONS

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Allow

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API