add support for OPTIONS http method
This commit is contained in:
@@ -160,7 +160,7 @@ public:
|
||||
the HTTP method
|
||||
!! IMPROVE ME add the rest methods here
|
||||
*/
|
||||
enum Method { get, post, head, delete_, unknown_method } method;
|
||||
enum Method { get, post, head, delete_, options, unknown_method } method;
|
||||
|
||||
|
||||
/*
|
||||
@@ -549,7 +549,7 @@ private:
|
||||
void http_status_error_title(EzcEnv & env);
|
||||
void http_status_error_description(EzcEnv & env);
|
||||
|
||||
void SendAnswer();
|
||||
void PrepareAndSendAnswer();
|
||||
void PrepareRawAnswer();
|
||||
void PrepareJsonAnswer();
|
||||
void PrepareXmlAnswer();
|
||||
|
||||
Reference in New Issue
Block a user