HTTP: Difference between revisions
From DWIKI
mNo edit summary Tag: wikieditor |
Tag: wikieditor |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
==HTTP/2== | ==HTTP/2== | ||
*[https://en.wikipedia.org/wiki/HTTP/2 Wikipedia 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 13: | 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
