3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef HTTP_STATUS_H_
19 #define HTTP_STATUS_H_
27 SOUP_CANT_RESOLVE_PROXY,
29 SOUP_CANT_CONNECT_PROXY,
33 SOUP_TOO_MANY_REDIRECTS,
39 SWITCHING_PROTOCOLS = 101,
40 PROCESSING = 102, /* WebDAV */
49 NON_AUTHORITATIVE_INFORMATION = 203,
52 PARTIAL_CONTENT = 206,
53 MULTI_STATUS = 207, /* WebDAV */
59 MULTIPLE_CHOICES = 300,
60 MOVED_PERMANENTLY = 301,
65 /* SWITCH_PROXY = 306, *//* Unused */
66 TEMPORARY_REDIRECT = 307,
67 RESUME_INCOMPLETE = 308,
74 PAYMENT_REQUIRED = 402,
77 METHOD_NOT_ALLOWED = 405,
79 PROXY_AUTHENTICATION_REQUIRED = 407,
80 REQUEST_TIMEOUT = 408,
83 LENGTH_REQUIRED = 411,
84 PRECONDITION_FAILED = 412,
85 REQUEST_ENTITY_TOO_LARGE = 413,
86 REQUEST_URI_TOO_LONG = 414,
87 UNSUPPORTED_MEDIA_TYPE = 415,
88 REQUESTED_RANGE_NOT_SATISFIABLE = 416,
89 EXPECTATION_FAILED = 417,
91 UNPROCESSABLE_ENTITY = 422, /* WebDAV */
92 LOCKED = 423, /* WebDAV */
93 FAILED_DEPENDENCY = 424, /* WebDAV */
94 UNORDERED_COLLECTION = 425,
95 UPGRADE_REQUIRED = 426,
98 BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS = 450,
99 CLIENT_CLOSED_REQUEST = 499,
104 INTERNAL_SERVER_ERROR = 500,
105 NOT_IMPLEMENTED = 501,
107 SERVICE_UNAVAILABLE = 503,
108 GATEWAY_TIMEOUT = 504,
109 HTTP_VERSION_NOT_SUPPORTED = 505,
110 VARIANT_ALSO_NEGOTIATES = 506,
111 INSUFFICIENT_STORAGE = 507, /* WebDAV */
112 BANDWIDTH_LIMIT_EXCEEDED = 509, /* Apache bw / timited extension */
117 #endif /* HTTP_STATUS_H_ */