diff options
| author | Stefan Boberg <[email protected]> | 2026-03-20 08:55:35 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-20 08:55:35 +0100 |
| commit | 47a3a611bfc5aea588987ea3c4f2f714008e9b05 (patch) | |
| tree | 1d11ffe2fbc585fdc9a52195ff3a9e14b7cafac2 /src/zenhttp/httpserver.cpp | |
| parent | Consolidate action map locks and fix immediate query visibility (diff) | |
| download | zen-47a3a611bfc5aea588987ea3c4f2f714008e9b05.tar.xz zen-47a3a611bfc5aea588987ea3c4f2f714008e9b05.zip | |
add missing HTTP response codes
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
| -rw-r--r-- | src/zenhttp/httpserver.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp index e5cfbcbae..ce3440f9a 100644 --- a/src/zenhttp/httpserver.cpp +++ b/src/zenhttp/httpserver.cpp @@ -329,6 +329,10 @@ ReasonStringForHttpResultCode(int HttpCode) return "Continue"sv; case 101: return "Switching Protocols"sv; + case 102: + return "Processing"sv; + case 103: + return "Early Hints"sv; // 2xx Success @@ -338,12 +342,20 @@ ReasonStringForHttpResultCode(int HttpCode) return "Created"sv; case 202: return "Accepted"sv; + case 203: + return "Non-Authoritative Information"sv; case 204: return "No Content"sv; case 205: return "Reset Content"sv; case 206: return "Partial Content"sv; + case 207: + return "Multi-Status"sv; + case 208: + return "Already Reported"sv; + case 226: + return "IM Used"sv; // 3xx Redirection @@ -424,6 +436,8 @@ ReasonStringForHttpResultCode(int HttpCode) return "Too Many Requests"sv; case 431: return "Request Header Fields Too Large"sv; + case 451: + return "Unavailable For Legal Reasons"sv; // 5xx Server errors |