HTTP headers | Accept-Patch

The Patch is used for making partial changes to an existing resource. The Accept-Patch HTTP header is a response HTTP header that specifies the patch document is supported or not and also the media type that the server is able to understand. The presence of a specific patch document format in this header indicates that the specific format is allowed on the resource. ‘415 Unsupported Media Type’ is replied with if the media is not supported. So basically this header specifies that which patch document formats this server supports is the main work.


Accept-Patch: media types

Directives: There are no directives for Accept-Patch, just need to specify the supported format for the server.


  • The example shows a server that supports patch generally using two based patch document formats
    Accept-Patch: application/example, text/example
  • This example shows a server the supported format with the setting of HTTP-charset parameter.
    Accept-Patch: text/example;charset=utf-8

To check this Accept-Patch in action go to Inspect Element -> Network check the response header for Accept-Patch like below.

Supported Browsers: The browsers compatible with HTTP Accept-Patch header are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.