diff options
author | cflip <cflip@cflip.net> | 2022-07-07 13:47:27 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-07-07 13:47:27 -0600 |
commit | 280c39bc4d1aa948136e7c3631326e71b2dd1871 (patch) | |
tree | d69f0941c07e6419045ab33a346e73c7b6ce5b8c /src/HttpResponse.cpp | |
parent | 76337013af1a0dfa8c5da79dd0f008166000001d (diff) |
Implement simple URI parsing for multiple pages
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 a9ebbab..2adf84e 100644 --- a/src/HttpResponse.cpp +++ b/src/HttpResponse.cpp @@ -9,6 +9,8 @@ static std::string status_code_string(HttpStatusCode status_code) return "200 OK"; case HttpStatusCode::Forbidden: return "403 Forbidden"; + case HttpStatusCode::NotFound: + return "404 Not Found"; } } |