Difference between revisions of "HTTP/2"
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)
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
- HTTP:
POST, PUT, PATCH, GET, HEAD, OPTIONS, DELETE
, Webhook,curl -X POST, allowed_methods
- 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: