Difference between revisions of "HTTP/2"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
<code>[[wget2]]</code>
 
<code>[[wget2]]</code>
  
 +
== Curl examples ==
 
<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
 +
 +
 +
== Related ==
 
* [[Websocket]]
 
* [[Websocket]]
 
* [[HTML5]]
 
* [[HTML5]]

Revision as of 08:44, 17 March 2023

wikipedia:HTTP/2 (May 2015)


wget2

Curl examples

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

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


Related

See also

Advertising: