diff options
author | Pixel <pixel@nobis-crew.org> | 2011-11-14 22:44:55 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-11-14 22:44:55 -0800 |
commit | cd8e8948ed17f1985898f8c1d59d32680262457e (patch) | |
tree | afeed4987fd194081b180d3aa68d38f5dedb7f54 /includes/Http.h | |
parent | d2c436e49ae0e870015b106713a711d9356c39cb (diff) |
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.
Diffstat (limited to 'includes/Http.h')
-rw-r--r-- | includes/Http.h | 23 |
1 files changed, 23 insertions, 0 deletions
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, +}; + +}; + +}; |