xref: /freebsd/lib/libfetch/http.errors (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1# $FreeBSD$
2#
3# This list is taken from RFC 2068.
4#
5100 OK		Continue
6101 OK		Switching Protocols
7200 OK		OK
8201 OK		Created
9202 OK		Accepted
10203 INFO	Non-Authoritative Information
11204 OK		No Content
12205 OK		Reset Content
13206 OK		Partial Content
14300 MOVED	Multiple Choices
15301 MOVED	Moved Permanently
16302 MOVED	Moved Temporarily
17303 MOVED	See Other
18304 OK		Not Modified
19305 INFO	Use Proxy
20307 MOVED	Temporary 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