Difference between revisions of "HTTP/2"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
<code>[[curl -I]] [[--http2]] https://google.com</code>
 
<code>[[curl -I]] [[--http2]] https://google.com</code>
  
curl -I --http2  https://www.wikieduonline.com/wiki/Main_Page
 
[[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 wikieduonline}}
  
 
== Related ==
 
== Related ==

Revision as of 08:44, 17 March 2023

wikipedia:HTTP/2 (May 2015)


wget2

Curl examples

curl -I --http2 https://google.com


 curl --head --http2  https://www.wikieduonline.com/wiki/Main_Page
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

Related

See also

Advertising: