xref: /freebsd/lib/libfetch/http.errors (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
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
21308 MOVED	Permanent Redirect
22400 PROTO	Bad Request
23401 AUTH	Unauthorized
24402 AUTH	Payment Required
25403 AUTH	Forbidden
26404 UNAVAIL	Not Found
27405 PROTO	Method Not Allowed
28406 PROTO	Not Acceptable
29407 AUTH	Proxy Authentication Required
30408 TIMEOUT	Request Time-out
31409 EXISTS	Conflict
32410 UNAVAIL	Gone
33411 PROTO	Length Required
34412 SERVER	Precondition Failed
35413 PROTO	Request Entity Too Large
36414 PROTO	Request-URI Too Large
37415 PROTO	Unsupported Media Type
38416 UNAVAIL	Requested Range Not Satisfiable
39417 SERVER	Expectation Failed
40500 SERVER	Internal Server Error
41501 PROTO	Not Implemented
42502 SERVER	Bad Gateway
43503 TEMP	Service Unavailable
44504 TIMEOUT	Gateway Time-out
45505 PROTO	HTTP Version not supported
46999 PROTO	Protocol error
47