OPTIONS
Metóda HTTP
Špecifikácia metódy HTTP OPTIONS
prebiehajúce práce
Metóda HTTP OPTIONS bola špecifikovaná v časti 4.3.7 dokumentu RFC 7231 pracovnou skupinou pre internetové inžinierstvo (IETF) a konzorciom World Wide Web (W3C).
Opis metódy OPTIONS
prebiehajúce práce
Príklad pre metódu HTTP OPTIONS
Request header:
OPTIONS /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
Access-Control-Request-Method: GET
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
OPTIONS /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
Access-Control-Request-Method: GET
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
Response header:
Allow: OPTIONS, GET, HEAD, POST
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Cache-Control: no-cache
Allow: OPTIONS, GET, HEAD, POST
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
Cache-Control: no-cache