diff options
author | cflip <cflip@cflip.net> | 2022-09-15 12:12:23 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-09-15 12:12:23 -0600 |
commit | 6266304977eb6bde01b374c53ca2a2a3514cb0d4 (patch) | |
tree | 74d7ab48b0c284403070b44e2a2099d66fda0302 /src/HttpResponse.cpp | |
parent | 4d3e4262b28af84fc6e54fc61a0865dd6b68cace (diff) |
Add HTTP 500 Internal Server Error
Diffstat (limited to 'src/HttpResponse.cpp')
-rw-r--r-- | src/HttpResponse.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HttpResponse.cpp b/src/HttpResponse.cpp index 2adf84e..2d69583 100644 --- a/src/HttpResponse.cpp +++ b/src/HttpResponse.cpp @@ -11,6 +11,8 @@ static std::string status_code_string(HttpStatusCode status_code) return "403 Forbidden"; case HttpStatusCode::NotFound: return "404 Not Found"; + case HttpStatusCode::InternalServerError: + return "500 Internal Server Error"; } } |