DevKits

Response · Response header

Allow

Which HTTP methods the target resource supports.

What is Allow?

Sent on 405 Method Not Allowed responses to tell the client which methods are valid, and on OPTIONS responses to advertise capabilities.

Typical usage

Set on 405 responses.

Examples

Allow: GET, POST, HEAD

Specification

RFC 9110 §10.2.1

Frequently asked questions

What is the Allow HTTP header?

Sent on 405 Method Not Allowed responses to tell the client which methods are valid, and on OPTIONS responses to advertise capabilities.

Is Allow a request or response header?

Allow is a response header — the server sends it to the client. Set on 405 responses.

What does a Allow header look like?

A typical Allow header looks like: Allow: GET, POST, HEAD.

Related headers

Work with this header