From aec08e7e3a8cf646463d45f61d2e546d3223aa3c Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 7 Dec 2011 08:22:28 -0800 Subject: Adding more HTTP methods, and properly supporting them, even if it means returning a 405 error. --- includes/Http.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'includes/Http.h') 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, -- cgit v1.2.3