HTTP: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
Tag: wikieditor
Line 22: Line 22:
===301===
===301===
Moved permanently, redirect
Moved permanently, redirect
===Bad request===
400
===401===
===401===
Unauthorized
Unauthorized

Revision as of 14:22, 2 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

Bad request

400

401

Unauthorized

403

Forbidden

404

Not found

500

Internal Server Error