Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: net/http/http_status_code_list.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum. 6 // inside a macro to generate enum.
7 // 7 //
8 // This file contains the list of HTTP status codes. Taken from IANA HTTP Status 8 // This file contains the list of HTTP status codes. Taken from IANA HTTP Status
9 // Code Registry. 9 // Code Registry.
10 // http://www.iana.org/assignments/http-status-codes/http-status-codes.xml 10 // http://www.iana.org/assignments/http-status-codes/http-status-codes.xml
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 HTTP_STATUS(NOT_ACCEPTABLE, 406, "Not Acceptable") 47 HTTP_STATUS(NOT_ACCEPTABLE, 406, "Not Acceptable")
48 HTTP_STATUS(PROXY_AUTHENTICATION_REQUIRED, 407, "Proxy Authentication Required") 48 HTTP_STATUS(PROXY_AUTHENTICATION_REQUIRED, 407, "Proxy Authentication Required")
49 HTTP_STATUS(REQUEST_TIMEOUT, 408, "Request Timeout") 49 HTTP_STATUS(REQUEST_TIMEOUT, 408, "Request Timeout")
50 HTTP_STATUS(CONFLICT, 409, "Conflict") 50 HTTP_STATUS(CONFLICT, 409, "Conflict")
51 HTTP_STATUS(GONE, 410, "Gone") 51 HTTP_STATUS(GONE, 410, "Gone")
52 HTTP_STATUS(LENGTH_REQUIRED, 411, "Length Required") 52 HTTP_STATUS(LENGTH_REQUIRED, 411, "Length Required")
53 HTTP_STATUS(PRECONDITION_FAILED, 412, "Precondition Failed") 53 HTTP_STATUS(PRECONDITION_FAILED, 412, "Precondition Failed")
54 HTTP_STATUS(REQUEST_ENTITY_TOO_LARGE, 413, "Request Entity Too Large") 54 HTTP_STATUS(REQUEST_ENTITY_TOO_LARGE, 413, "Request Entity Too Large")
55 HTTP_STATUS(REQUEST_URI_TOO_LONG, 414, "Request-URI Too Long") 55 HTTP_STATUS(REQUEST_URI_TOO_LONG, 414, "Request-URI Too Long")
56 HTTP_STATUS(UNSUPPORTED_MEDIA_TYPE, 415, "Unsupported Media Type") 56 HTTP_STATUS(UNSUPPORTED_MEDIA_TYPE, 415, "Unsupported Media Type")
57 HTTP_STATUS(REQUESTED_RANGE_NOT_SATISFIABLE, 416, 57 HTTP_STATUS(REQUESTED_RANGE_NOT_SATISFIABLE,
58 416,
58 "Requested Range Not Satisfiable") 59 "Requested Range Not Satisfiable")
59 HTTP_STATUS(EXPECTATION_FAILED, 417, "Expectation Failed") 60 HTTP_STATUS(EXPECTATION_FAILED, 417, "Expectation Failed")
60 61
61 // Server error 5xx 62 // Server error 5xx
62 HTTP_STATUS(INTERNAL_SERVER_ERROR, 500, "Internal Server Error") 63 HTTP_STATUS(INTERNAL_SERVER_ERROR, 500, "Internal Server Error")
63 HTTP_STATUS(NOT_IMPLEMENTED, 501, "Not Implemented") 64 HTTP_STATUS(NOT_IMPLEMENTED, 501, "Not Implemented")
64 HTTP_STATUS(BAD_GATEWAY, 502, "Bad Gateway") 65 HTTP_STATUS(BAD_GATEWAY, 502, "Bad Gateway")
65 HTTP_STATUS(SERVICE_UNAVAILABLE, 503, "Service Unavailable") 66 HTTP_STATUS(SERVICE_UNAVAILABLE, 503, "Service Unavailable")
66 HTTP_STATUS(GATEWAY_TIMEOUT, 504, "Gateway Timeout") 67 HTTP_STATUS(GATEWAY_TIMEOUT, 504, "Gateway Timeout")
67 HTTP_STATUS(VERSION_NOT_SUPPORTED, 505, "HTTP Version Not Supported") 68 HTTP_STATUS(VERSION_NOT_SUPPORTED, 505, "HTTP Version Not Supported")
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698