| Index: net/tools/flip_server/http_message_constants.cc
|
| diff --git a/net/tools/flip_server/http_message_constants.cc b/net/tools/flip_server/http_message_constants.cc
|
| index e60fb1cd451ecc5c3ee4d13e339e725ea28cf67c..a4a8b4deb7d61fbece588902f63dce9141ae2305 100644
|
| --- a/net/tools/flip_server/http_message_constants.cc
|
| +++ b/net/tools/flip_server/http_message_constants.cc
|
| @@ -92,55 +92,12 @@ const char* get_http_status_message(int status_message) {
|
| return "unknown";
|
| }
|
|
|
| -////////////////////////////////////////////////////////////////////////////////
|
| -
|
| const int http_status_codes[] = {
|
| - 100,
|
| - 101,
|
| - 200,
|
| - 201,
|
| - 202,
|
| - 203,
|
| - 204,
|
| - 205,
|
| - 206,
|
| - 300,
|
| - 301,
|
| - 302,
|
| - 303,
|
| - 304,
|
| - 305,
|
| - 307,
|
| - 400,
|
| - 401,
|
| - 402,
|
| - 403,
|
| - 404,
|
| - 405,
|
| - 406,
|
| - 407,
|
| - 408,
|
| - 409,
|
| - 410,
|
| - 411,
|
| - 412,
|
| - 413,
|
| - 414,
|
| - 415,
|
| - 416,
|
| - 417,
|
| - 500,
|
| - 501,
|
| - 502,
|
| - 503,
|
| - 504,
|
| - 505
|
| -};
|
| -
|
| -////////////////////////////////////////////////////////////////////////////////
|
| + 100, 101, 200, 201, 202, 203, 204, 205, 206, 300, 301, 302, 303, 304,
|
| + 305, 307, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411,
|
| + 412, 413, 414, 415, 416, 417, 500, 501, 502, 503, 504, 505};
|
|
|
| -const int http_status_code_count = sizeof(http_status_codes) /
|
| - sizeof(http_status_codes[0]);
|
| +const int http_status_code_count =
|
| + sizeof(http_status_codes) / sizeof(http_status_codes[0]);
|
|
|
| } // namespace net
|
| -
|
|
|