diff options
author | Pixel <pixel@nobis-crew.org> | 2011-12-07 08:22:28 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-12-07 08:22:28 -0800 |
commit | aec08e7e3a8cf646463d45f61d2e546d3223aa3c (patch) | |
tree | b3d3741d446309c28190c98f0bb90190fb174e6a /includes | |
parent | 2f36082049c30562f2cb3061438c4aaebc8d8fe5 (diff) |
Adding more HTTP methods, and properly supporting them, even if it means returning a 405 error.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Http.h | 6 |
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, |