Initial import from FreeBSD RELENG_4:
[dragonfly.git] / lib / libfetch / http.errors
1 # $FreeBSD: src/lib/libfetch/http.errors,v 1.4.2.1 2001/05/26 17:31:50 des Exp $
2 #
3 # This list is taken from RFC 2068.
4 #
5 100 OK          Continue
6 101 OK          Switching Protocols
7 200 OK          OK
8 201 OK          Created
9 202 OK          Accepted
10 203 INFO        Non-Authoritative Information
11 204 OK          No Content
12 205 OK          Reset Content
13 206 OK          Partial Content
14 300 MOVED       Multiple Choices
15 301 MOVED       Moved Permanently
16 302 MOVED       Moved Temporarily
17 303 MOVED       See Other
18 304 OK          Not Modified
19 305 INFO        Use Proxy
20 307 MOVED       Temporary Redirect
21 400 PROTO       Bad Request
22 401 AUTH        Unauthorized
23 402 AUTH        Payment Required
24 403 AUTH        Forbidden
25 404 UNAVAIL     Not Found
26 405 PROTO       Method Not Allowed
27 406 PROTO       Not Acceptable
28 407 AUTH        Proxy Authentication Required
29 408 TIMEOUT     Request Time-out
30 409 EXISTS      Conflict
31 410 UNAVAIL     Gone
32 411 PROTO       Length Required
33 412 SERVER      Precondition Failed
34 413 PROTO       Request Entity Too Large
35 414 PROTO       Request-URI Too Large
36 415 PROTO       Unsupported Media Type
37 416 UNAVAIL     Requested Range Not Satisfiable
38 417 SERVER      Expectation Failed
39 500 SERVER      Internal Server Error
40 501 PROTO       Not Implemented
41 502 SERVER      Bad Gateway
42 503 TEMP        Service Unavailable
43 504 TIMEOUT     Gateway Time-out
44 505 PROTO       HTTP Version not supported
45 999 PROTO       Protocol error