PROPPATCH
HTTP 메서드
HTTP 메서드 PROPPATCH의 사양
진행 중인 작업
HTTP 메서드(PROPPATCH)는 인터넷 엔지니어링 태스크포스(IETF) 및 월드와이드웹 컨소시엄(W3C)에 의해 문서 RFC 4918의 섹션 9.2에 명시되어 있습니다.
PROPPATCH 메서드에 대한 설명
진행 중인 작업
HTTP 메서드 PROPPATCH의 예
Request header:
PROPPATCH /data HTTP/1.1
Host: api.example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/58.0.3029.110 Safari/537
Content-Type: text/xml; charset="utf-8"
Content-Length: 900
Depth: 0
Request body (XML):
<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:">
<D:set>
<D:prop>
<D:author>New Author</D:author>
</D:prop>
</D:set>
</D:propertyupdate>
PROPPATCH /data HTTP/1.1
Host: api.example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/58.0.3029.110 Safari/537
Content-Type: text/xml; charset="utf-8"
Content-Length: 900
Depth: 0
Request body (XML):
<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:">
<D:set>
<D:prop>
<D:author>New Author</D:author>
</D:prop>
</D:set>
</D:propertyupdate>
Response header:
HTTP/1.1 207 Multi-Status
Content-Type: text/xml; charset="utf-8"
Content-Length: [Länge des XML-Antwortinhalts]
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Response body (XML):
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
[Response details here]
</D:multistatus>
HTTP/1.1 207 Multi-Status
Content-Type: text/xml; charset="utf-8"
Content-Length: [Länge des XML-Antwortinhalts]
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Response body (XML):
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
[Response details here]
</D:multistatus>