diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-15 23:43:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-03 21:37:04 +0100 |
| commit | f63f9b9d2452c3eac2bb6c6b7c8663570768425a (patch) | |
| tree | 333641a6e0748ae5ce98b82a881d9b45ad1d8dfa /src/lib/http_server.h | |
| parent | fd5185eb231228fd1815832093d57558bc90dee3 (diff) | |
Return 500 when some server error occurs.
Diffstat (limited to 'src/lib/http_server.h')
| -rw-r--r-- | src/lib/http_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/http_server.h b/src/lib/http_server.h index 4c8acdc11..ca4f498e4 100644 --- a/src/lib/http_server.h +++ b/src/lib/http_server.h @@ -46,6 +46,7 @@ public: void send(std::shared_ptr<Socket> socket); static Response ERROR_404; + static Response ERROR_500; private: int _code; |
