From cd8e8948ed17f1985898f8c1d59d32680262457e Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 14 Nov 2011 22:44:55 -0800 Subject: Some more basic work on the HTTP server. Some of the main ideas are not fleshed up, and writing the actual server should now be sort of straightforward. --- includes/Http.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 includes/Http.h (limited to 'includes/Http.h') diff --git a/includes/Http.h b/includes/Http.h new file mode 100644 index 0000000..cbb118f --- /dev/null +++ b/includes/Http.h @@ -0,0 +1,23 @@ +#pragma once + +namespace Balau { + +namespace Http { + +enum { + GET, + POST, + + REDIRECT = 301, + + BAD_REQUEST = 400, + UNAUTHORIZED = 401, + FORBIDDEN = 403, + NOT_FOUND = 404, + + ERROR = 500, +}; + +}; + +}; -- cgit v1.2.3