メインコンテンツまでスキップ

3.2. OPTIONS リクエストとレスポンスの例 (Example OPTIONS Request and Response)

3.2. OPTIONS リクエストとレスポンスの例 (Example OPTIONS Request and Response)

リクエスト:

OPTIONS /example/buddies.xml HTTP/1.1
Host: www.example.com

レスポンス:

HTTP/1.1 200 OK
Allow: GET, PUT, POST, OPTIONS, HEAD, DELETE, PATCH
Accept-Patch: application/example, text/example

この例は、2 つの仮想的なパッチドキュメントフォーマットを使用して、一般的に PATCH をサポートするサーバーを示しています.