3.2. OPTIONS 请求和响应示例 (Example OPTIONS Request and Response)
3.2. OPTIONS 请求和响应示例 (Example OPTIONS Request and Response)
请求 (Request):
OPTIONS /example/buddies.xml HTTP/1.1
Host: www.example.com
响应 (Response):
HTTP/1.1 200 OK
Allow: GET, PUT, POST, OPTIONS, HEAD, DELETE, PATCH
Accept-Patch: application/example, text/example
这些示例展示了一个通常支持 PATCH 的服务器, 它使用两种假设的补丁文档格式.