Difference between revisions of "Curl -I --http2"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
[[HTTP/2]] 301 | [[HTTP/2]] 301 | ||
location: https://www.google.com/ | location: https://www.google.com/ | ||
− | content-type: text/html; charset=UTF-8 | + | [[content-type]]: text/html; charset=UTF-8 |
date: Wed, 28 Sep 2022 18:47:13 GMT | date: Wed, 28 Sep 2022 18:47:13 GMT | ||
expires: Wed, 28 Sep 2022 18:47:13 GMT | expires: Wed, 28 Sep 2022 18:47:13 GMT | ||
Line 32: | Line 32: | ||
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- | 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" | Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" | ||
+ | |||
+ | |||
+ | curl -I --http2 http://localhost | ||
+ | HTTP/1.1 301 Moved Permanently | ||
+ | Server: nginx | ||
+ | Date: Wed, 28 Sep 2022 18:48:45 GMT | ||
+ | [[Content-Type]]: text/html | ||
+ | [[Content-Length]]: 178 | ||
+ | [[Connection]]: keep-alive | ||
+ | Location: https://localhost/ | ||
== See also == | == See also == |
Latest revision as of 18:49, 28 September 2022
curl -I --http2 https://google.com HTTP/2 301 location: https://www.google.com/ content-type: text/html; charset=UTF-8 date: Wed, 28 Sep 2022 18:47:13 GMT expires: Wed, 28 Sep 2022 18:47:13 GMT cache-control: private, max-age=2592000 server: gws content-length: 220 x-xss-protection: 0 x-frame-options: SAMEORIGIN set-cookie: CONSENT=PENDING+036; expires=Fri, 27-Sep-2024 18:47:13 GMT; path=/; domain=.google.com; Secure p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info." alt-svc: h3=":443"; ma=2592000,h3-29=":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"
curl -I --http2 https://google.com HTTP/2 301 location: https://www.google.com/ content-type: text/html; charset=UTF-8 date: Wed, 13 Oct 2021 10:31:33 GMT expires: Wed, 13 Oct 2021 10:31:33 GMT cache-control: private, max-age=2592000 server: gws content-length: 220 x-xss-protection: 0 x-frame-options: SAMEORIGIN set-cookie: CONSENT=PENDING+087; expires=Fri, 01-Jan-2038 00:00:00 GMT; path=/; domain=.google.com; Secure p3p: CP="This is not a P3P policy! See g.co/p3phelp 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"
curl -I --http2 http://localhost HTTP/1.1 301 Moved Permanently Server: nginx Date: Wed, 28 Sep 2022 18:48:45 GMT Content-Type: text/html Content-Length: 178 Connection: keep-alive Location: https://localhost/
See also[edit]
- HTTP, HTTP client, HTTP/1.1, HTTP/2, HTTP/3, HTTPS, HSTS CSR, TLS, SSL,
openSSL
, WebSockets, WebRTC,ssl_certificate
QUIC, HPKP, CT, List of HTTP status codes, URL redirection, Content-type:, Webhook, HTTP headers,--insecure
, Axios HTTP client, HTTP cookies, HTTP ETag, Hypertext Transfer Protocol -- HTTP/1.1
Advertising: