Skip to content
Related Articles
Open in App
Not now

Related Articles

HTTP headers | Accept-Patch

Improve Article
Save Article
  • Last Updated : 31 Oct, 2019
Improve Article
Save Article

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
Related Articles

Start Your Coding Journey Now!