summaryrefslogtreecommitdiff
path: root/includes/Http.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-12-07 08:22:28 -0800
committerPixel <pixel@nobis-crew.org>2011-12-07 08:22:28 -0800
commitaec08e7e3a8cf646463d45f61d2e546d3223aa3c (patch)
treeb3d3741d446309c28190c98f0bb90190fb174e6a /includes/Http.h
parent2f36082049c30562f2cb3061438c4aaebc8d8fe5 (diff)
Adding more HTTP methods, and properly supporting them, even if it means returning a 405 error.
Diffstat (limited to 'includes/Http.h')
-rw-r--r--includes/Http.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/Http.h b/includes/Http.h
index cd7973f..05e72f4 100644
--- a/includes/Http.h
+++ b/includes/Http.h
@@ -24,7 +24,13 @@ class Request {
enum {
GET,
+ HEAD,
POST,
+ PUT,
+ DELETE,
+ TRACE,
+ OPTIONS,
+ CONNECT,
REDIRECT = 301,