xref: /freebsd/lib/libfetch/http.errors (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
14ca1ab94SDag-Erling Smørgrav#
24ca1ab94SDag-Erling Smørgrav# This list is taken from RFC 2068.
34ca1ab94SDag-Erling Smørgrav#
4d8acd8dcSDag-Erling Smørgrav100 OK		Continue
5d8acd8dcSDag-Erling Smørgrav101 OK		Switching Protocols
6d8acd8dcSDag-Erling Smørgrav200 OK		OK
7d8acd8dcSDag-Erling Smørgrav201 OK		Created
8d8acd8dcSDag-Erling Smørgrav202 OK		Accepted
9d8acd8dcSDag-Erling Smørgrav203 INFO	Non-Authoritative Information
10d8acd8dcSDag-Erling Smørgrav204 OK		No Content
11d8acd8dcSDag-Erling Smørgrav205 OK		Reset Content
12d8acd8dcSDag-Erling Smørgrav206 OK		Partial Content
13d8acd8dcSDag-Erling Smørgrav300 MOVED	Multiple Choices
14d8acd8dcSDag-Erling Smørgrav301 MOVED	Moved Permanently
15d8acd8dcSDag-Erling Smørgrav302 MOVED	Moved Temporarily
16d8acd8dcSDag-Erling Smørgrav303 MOVED	See Other
17d8acd8dcSDag-Erling Smørgrav304 OK		Not Modified
18d8acd8dcSDag-Erling Smørgrav305 INFO	Use Proxy
19ea63a39cSDag-Erling Smørgrav307 MOVED	Temporary Redirect
20*c4fa1489SEitan Adler308 MOVED	Permanent Redirect
21d8acd8dcSDag-Erling Smørgrav400 PROTO	Bad Request
22d8acd8dcSDag-Erling Smørgrav401 AUTH	Unauthorized
23d8acd8dcSDag-Erling Smørgrav402 AUTH	Payment Required
24d8acd8dcSDag-Erling Smørgrav403 AUTH	Forbidden
25d8acd8dcSDag-Erling Smørgrav404 UNAVAIL	Not Found
26d8acd8dcSDag-Erling Smørgrav405 PROTO	Method Not Allowed
27d8acd8dcSDag-Erling Smørgrav406 PROTO	Not Acceptable
28d8acd8dcSDag-Erling Smørgrav407 AUTH	Proxy Authentication Required
29d8acd8dcSDag-Erling Smørgrav408 TIMEOUT	Request Time-out
30d8acd8dcSDag-Erling Smørgrav409 EXISTS	Conflict
31d8acd8dcSDag-Erling Smørgrav410 UNAVAIL	Gone
32d8acd8dcSDag-Erling Smørgrav411 PROTO	Length Required
33d8acd8dcSDag-Erling Smørgrav412 SERVER	Precondition Failed
34d8acd8dcSDag-Erling Smørgrav413 PROTO	Request Entity Too Large
35d8acd8dcSDag-Erling Smørgrav414 PROTO	Request-URI Too Large
36d8acd8dcSDag-Erling Smørgrav415 PROTO	Unsupported Media Type
37ea63a39cSDag-Erling Smørgrav416 UNAVAIL	Requested Range Not Satisfiable
38ea63a39cSDag-Erling Smørgrav417 SERVER	Expectation Failed
39d8acd8dcSDag-Erling Smørgrav500 SERVER	Internal Server Error
40d8acd8dcSDag-Erling Smørgrav501 PROTO	Not Implemented
41d8acd8dcSDag-Erling Smørgrav502 SERVER	Bad Gateway
42d8acd8dcSDag-Erling Smørgrav503 TEMP	Service Unavailable
43d8acd8dcSDag-Erling Smørgrav504 TIMEOUT	Gateway Time-out
44d8acd8dcSDag-Erling Smørgrav505 PROTO	HTTP Version not supported
45be0d5ff2SDag-Erling Smørgrav999 PROTO	Protocol error
46