diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-02 21:45:20 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-02 21:45:46 +0100 |
commit | b72175dab679c14be80b6e5db7129f8d3b518079 (patch) | |
tree | 88d82aaed69f83c0fa68a2831a029527eea4a413 /httpd.cpp | |
parent | b53ea34b123721f70ae6e4ff4eb96e90e0664ba4 (diff) |
Add HTTP::Connection::send_error.
Diffstat (limited to 'httpd.cpp')
-rw-r--r-- | httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,6 +29,6 @@ void HTTP::Server::handle_request(Connection::p connection) { // Call handler. handlers[handler](connection); } else { - // Error 404. + connection->send_error(404, "Not Found"); } } |