xref: /freebsd/lib/libfetch/http.errors (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1#
2# This list is taken from RFC 2068.
3#
4100 OK		Continue
5101 OK		Switching Protocols
6200 OK		OK
7201 OK		Created
8202 OK		Accepted
9203 INFO	Non-Authoritative Information
10204 OK		No Content
11205 OK		Reset Content
12206 OK		Partial Content
13300 MOVED	Multiple Choices
14301 MOVED	Moved Permanently
15302 MOVED	Moved Temporarily
16303 MOVED	See Other
17304 OK		Not Modified
18305 INFO	Use Proxy
19307 MOVED	Temporary Redirect
20308 MOVED	Permanent Redirect
21400 PROTO	Bad Request
22401 AUTH	Unauthorized
23402 AUTH	Payment Required
24403 AUTH	Forbidden
25404 UNAVAIL	Not Found
26405 PROTO	Method Not Allowed
27406 PROTO	Not Acceptable
28407 AUTH	Proxy Authentication Required
29408 TIMEOUT	Request Time-out
30409 EXISTS	Conflict
31410 UNAVAIL	Gone
32411 PROTO	Length Required
33412 SERVER	Precondition Failed
34413 PROTO	Request Entity Too Large
35414 PROTO	Request-URI Too Large
36415 PROTO	Unsupported Media Type
37416 UNAVAIL	Requested Range Not Satisfiable
38417 SERVER	Expectation Failed
39500 SERVER	Internal Server Error
40501 PROTO	Not Implemented
41502 SERVER	Bad Gateway
42503 TEMP	Service Unavailable
43504 TIMEOUT	Gateway Time-out
44505 PROTO	HTTP Version not supported
45999 PROTO	Protocol error
46