From wikieduonline
Jump to navigation Jump to search

cURL examples[edit]

curl --head --http2
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 17 Mar 2023 08:43:05 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-language: en
Vary: Accept-Encoding, Cookie
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: private, must-revalidate, max-age=0
Last-Modified: Tue, 24 Jan 2023 06:00:39 GMT

 curl -I
HTTP/2 301
content-type: text/html; charset=UTF-8
date: Wed, 13 Oct 2021 10:22:25 GMT
expires: Wed, 13 Oct 2021 10:22:25 GMT
cache-control: private, max-age=2592000
server: gws
content-length: 220
x-xss-protection: 0
x-frame-options: SAMEORIGIN
set-cookie: CONSENT=PENDING+234; expires=Fri, 01-Jan-2038 00:00:00 GMT; path=/;; Secure
p3p: CP="This is not a P3P policy! See for more info."
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3- 
Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"


See also[edit]