xref: /netbsd-src/share/examples/refuse/ian/libfetch/http.errors (revision 0920b4f20b78ab1ccd9f2312fbe10deaf000cbf3)
1*0920b4f2Sagc# $FreeBSD: src/lib/libfetch/http.errors,v 1.4.2.1 2001/05/26 17:31:50 des Exp $
2*0920b4f2Sagc#
3*0920b4f2Sagc# This list is taken from RFC 2068.
4*0920b4f2Sagc#
5*0920b4f2Sagc100 OK		Continue
6*0920b4f2Sagc101 OK		Switching Protocols
7*0920b4f2Sagc200 OK		OK
8*0920b4f2Sagc201 OK		Created
9*0920b4f2Sagc202 OK		Accepted
10*0920b4f2Sagc203 INFO	Non-Authoritative Information
11*0920b4f2Sagc204 OK		No Content
12*0920b4f2Sagc205 OK		Reset Content
13*0920b4f2Sagc206 OK		Partial Content
14*0920b4f2Sagc300 MOVED	Multiple Choices
15*0920b4f2Sagc301 MOVED	Moved Permanently
16*0920b4f2Sagc302 MOVED	Moved Temporarily
17*0920b4f2Sagc303 MOVED	See Other
18*0920b4f2Sagc304 OK		Not Modified
19*0920b4f2Sagc305 INFO	Use Proxy
20*0920b4f2Sagc307 MOVED	Temporary Redirect
21*0920b4f2Sagc400 PROTO	Bad Request
22*0920b4f2Sagc401 AUTH	Unauthorized
23*0920b4f2Sagc402 AUTH	Payment Required
24*0920b4f2Sagc403 AUTH	Forbidden
25*0920b4f2Sagc404 UNAVAIL	Not Found
26*0920b4f2Sagc405 PROTO	Method Not Allowed
27*0920b4f2Sagc406 PROTO	Not Acceptable
28*0920b4f2Sagc407 AUTH	Proxy Authentication Required
29*0920b4f2Sagc408 TIMEOUT	Request Time-out
30*0920b4f2Sagc409 EXISTS	Conflict
31*0920b4f2Sagc410 UNAVAIL	Gone
32*0920b4f2Sagc411 PROTO	Length Required
33*0920b4f2Sagc412 SERVER	Precondition Failed
34*0920b4f2Sagc413 PROTO	Request Entity Too Large
35*0920b4f2Sagc414 PROTO	Request-URI Too Large
36*0920b4f2Sagc415 PROTO	Unsupported Media Type
37*0920b4f2Sagc416 UNAVAIL	Requested Range Not Satisfiable
38*0920b4f2Sagc417 SERVER	Expectation Failed
39*0920b4f2Sagc500 SERVER	Internal Server Error
40*0920b4f2Sagc501 PROTO	Not Implemented
41*0920b4f2Sagc502 SERVER	Bad Gateway
42*0920b4f2Sagc503 TEMP	Service Unavailable
43*0920b4f2Sagc504 TIMEOUT	Gateway Time-out
44*0920b4f2Sagc505 PROTO	HTTP Version not supported
45*0920b4f2Sagc999 PROTO	Protocol error
46