--- title: Allow slug: Web/HTTP/Headers/Allow tags: - Entity header - HTTP - HTTP Header - Reference - header translation_of: Web/HTTP/Headers/Allow --- <div>{{HTTPSidebar}}</div> <p><code><strong>Allow</strong></code> ヘッダーは、あるリソースが対応しているメソッドの一覧を示します。</p> <p>このヘッダーは、サーバーが {{HTTPStatus("405")}} <code>Method Not Allowed</code> ステータスコードで返答する場合、使用することができるリクエストメソッドを示すために送信する必要があります。 <code>Allow</code> ヘッダーが空である場合、リソースが許可しているリクエストメソッドがないことを示し、例えば指定されたリソースにおいて一時的に発生する可能性があります。</p> <table class="properties"> <tbody> <tr> <th scope="row">ヘッダー種別</th> <td>{{Glossary("Entity header", "エンティティヘッダー")}}</td> </tr> <tr> <th scope="row">{{Glossary("Forbidden header name","禁止ヘッダー名")}}</th> <td>いいえ</td> </tr> </tbody> </table> <h2 id="Syntax" name="Syntax">構文</h2> <pre class="syntaxbox notranslate">Allow: <http-methods> </pre> <h2 id="Directives" name="Directives">ディレクティブ</h2> <dl> <dt><http-methods></dt> <dd>許可されている <a href="/ja/docs/Web/HTTP/Methods">HTTP リクエストメソッド</a>の一覧。</dd> </dl> <h2 id="Examples" name="Examples">例</h2> <pre class="notranslate">Allow: GET, POST, HEAD</pre> <h2 id="Specifications" name="Specifications">仕様書</h2> <table class="standard-table"> <thead> <tr> <th scope="col">仕様書</th> <th scope="col">状態</th> </tr> <tr> <td>{{RFC("7231", "Allow", "7.4.1")}}</td> <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td> </tr> </thead> </table> <h2 id="See_also" name="See_also">関連情報</h2> <ul> <li>{{HTTPStatus("405")}}</li> <li>{{HTTPHeader("Server")}}</li> </ul>