Skip to main content

3.2. Example OPTIONS Request and Response

3.2. 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

The examples show a server that supports PATCH generally using two hypothetical patch document formats.