diff options
author | Uli Heilmeier <uh@heilmeier.eu> | 2017-10-31 15:23:19 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-10-31 18:37:19 +0000 |
commit | 5bea387c2c7fd37dd0fe1784d6f84e400ad4ff09 (patch) | |
tree | 305b248a55291cffe2c0a1b29041df3d6f4d49e5 /ui | |
parent | 649c81b83c295ef96460554e8e02c091bd6ae815 (diff) |
HTTP: Update status codes
Updated status codes to include "103, Early Hints".
s. https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
Change-Id: Ic00285c0ffafeb689bbc30533fcbdeb688528c62
Reviewed-on: https://code.wireshark.org/review/24203
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cli/tap-httpstat.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/cli/tap-httpstat.c b/ui/cli/tap-httpstat.c index 294493348e..ec4d8e732f 100644 --- a/ui/cli/tap-httpstat.c +++ b/ui/cli/tap-httpstat.c @@ -64,6 +64,8 @@ typedef struct _http_request_methode_t { static const value_string vals_status_code[] = { { 100, "Continue" }, { 101, "Switching Protocols" }, + { 102, "Processing" }, + { 103, "Early Hints" }, { 199, "Informational - Others" }, { 200, "OK"}, @@ -73,6 +75,9 @@ static const value_string vals_status_code[] = { { 204, "No Content"}, { 205, "Reset Content"}, { 206, "Partial Content"}, + { 207, "Multi-Status"}, + { 208, "Already Reported"}, + { 226, "IM Used"}, { 299, "Success - Others"}, /* used to keep track of others Success packets */ { 300, "Multiple Choices"}, @@ -81,6 +86,8 @@ static const value_string vals_status_code[] = { { 303, "See Other"}, { 304, "Not Modified"}, { 305, "Use Proxy"}, + { 307, "Temporary Redirect"}, + { 308, "Permanent Redirect"}, { 399, "Redirection - Others"}, { 400, "Bad Request"}, @@ -99,6 +106,17 @@ static const value_string vals_status_code[] = { { 413, "Request Entity Too Large"}, { 414, "Request-URI Too Large"}, { 415, "Unsupported Media Type"}, + { 416, "Range Not Satifiable"}, + { 417, "Expectation Failed"}, + { 421, "Misdirected Request"}, + { 422, "Unprocessable Entity"}, + { 423, "Locked"}, + { 424, "Failed Dependency"}, + { 426, "Upgrade Required"}, + { 428, "Precondition Required"}, + { 429, "Too Many Requests"}, + { 431, "Request Header Fields Too Large"}, + { 451, "Unavailable For Legal Reasons"}, { 499, "Client Error - Others"}, { 500, "Internal Server Error"}, @@ -107,6 +125,11 @@ static const value_string vals_status_code[] = { { 503, "Service Unavailable"}, { 504, "Gateway Time-out"}, { 505, "HTTP Version not supported"}, + { 506, "Variant Also Negotiates"}, + { 507, "Insufficient Storage"}, + { 508, "Loop Detected"}, + { 510, "Not Extended"}, + { 511, "Network Authentication Required"}, { 599, "Server Error - Others"}, { 0, NULL} |