LOCK
Metoda HTTP
Specifikacija metode HTTP LOCK
delo v teku
Metodo HTTP LOCK sta v oddelku 9.10 dokumenta RFC 4918 določila projektna skupina za internetno inženirstvo (IETF) in konzorcij za svetovni splet (W3C).
Opis metode LOCK
delo v teku
Primer za metodo HTTP LOCK
Request header:
LOCK /resource/path 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
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
Depth: 0
Timeout: Second-3600
Content-Type: application/xml; charset="utf-8"
Content-Length: [Length of the XML request body]
LOCK /resource/path 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
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
Depth: 0
Timeout: Second-3600
Content-Type: application/xml; charset="utf-8"
Content-Length: [Length of the XML request body]
Response header:
HTTP/1.1 200 OK
Content-Type: application/xml; charset="utf-8"
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Lock-Token:
HTTP/1.1 200 OK
Content-Type: application/xml; charset="utf-8"
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Lock-Token: