HTTP: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
Tag: wikieditor
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:


=Links=
=Links=
==HTTP/2==
*[https://en.wikipedia.org/wiki/HTTP/2 Wikipedia HTTP/2]
===Curl check for http/2===
curl -s -o /tmp/foo https://example.com -w '%{http_version}\n'


=HOWTO=
=HOWTO=
Line 11: Line 15:
*[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes List of HTTP status codes]
*[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes List of HTTP status codes]
*[https://www.rfc-editor.org/rfc/rfc9110.html RFC 9110 HTTP Semantics]
*[https://www.rfc-editor.org/rfc/rfc9110.html RFC 9110 HTTP Semantics]
==Most common HTTP status codes==
===200===
OK
===301===
Moved permanently, redirect
===400===
Bad request
===401===
Unauthorized
===403===
Forbidden
===404===
Not found
===500===
Internal Server Error

Latest revision as of 10:47, 15 November 2025

HyperText Transfer Protocol

Links

HTTP/2

Curl check for http/2

curl -s -o /tmp/foo https://example.com -w '%{http_version}\n'

HOWTO

HTTP telnet session

GET / HTTP/1.0
Host: www.example.com

HTTP Status Codes


Most common HTTP status codes

200

OK

301

Moved permanently, redirect

400

Bad request

401

Unauthorized

403

Forbidden

404

Not found

500

Internal Server Error