COPY
Metóda HTTP
Špecifikácia metódy HTTP COPY
prebiehajúce práce
Metóda HTTP COPY bola špecifikovaná v časti 9.8 dokumentu RFC 4918 pracovnou skupinou pre internetové inžinierstvo (IETF) a konzorciom World Wide Web (W3C).
Opis metódy COPY
prebiehajúce práce
Príklad pre metódu HTTP COPY
Request header:
COPY /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
Destination: https://api.example.com/copied-data
Depth: infinity
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
COPY /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
Destination: https://api.example.com/copied-data
Depth: infinity
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
Response header:
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Type: text/xml; charset="utf-8"
Cache-Control: no-cache
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Type: text/xml; charset="utf-8"
Cache-Control: no-cache