Internet 标准 https://tools.ietf.org/html/rfc5789
Abstract
Several applications extending the Hypertext Transfer Protocol (HTTP)
require a feature to do partial resource modification. The existing
HTTP PUT method only allows a complete replacement of a document.
This proposal adds a new HTTP method, PATCH, to modify an existing
HTTP resource.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc5789.
---------------------------------谷歌翻译.直译------------------------------------
HTTP的PATCH方法
抽象
扩展超文本传输协议(HTTP)的几个应用程序
需要一个功能来进行部分资源修改。现有的
HTTP PUT方法仅允许完全替换文档。
此提议添加了一个新的HTTP方法PATCH来修改现有方法
HTTP资源。
本备忘录的状态
这是Internet标准跟踪文档。
本文档是Internet工程任务组的产品
(IETF)。它代表了IETF社区的共识。它有
获得公众审查并已获批准出版
互联网工程指导小组(IESG)。更多信息RFC 5741的第2节
提供了Internet标准。
有关本文档当前状态的信息,任何勘误表,
以及如何提供反馈可以在
http://www.rfc-editor.org/info/rfc5789。
http method请求方式.常用的就是get post delete put;
Patch方式是对put方式的一种补充;
put方式是可以更新.但是更新的是整体.patch是对局部更新;