fix request method code
This commit is contained in:
parent
62bb4e5460
commit
63bf604d9e
1 changed files with 5 additions and 2 deletions
|
@ -168,7 +168,10 @@ route * r3_tree_match_route(const node *n, match_entry * entry);
|
|||
|
||||
#define METHOD_GET 2
|
||||
#define METHOD_POST 2<<1
|
||||
#define METHOD_PUT 2<<1
|
||||
#define METHOD_DELETE 2<<1
|
||||
#define METHOD_PUT 2<<2
|
||||
#define METHOD_DELETE 2<<3
|
||||
#define METHOD_PATCH 2<<4
|
||||
#define METHOD_HEAD 2<<5
|
||||
#define METHOD_OPTIONS 2<<6
|
||||
|
||||
#endif /* !R3_NODE_H */
|
||||
|
|
Loading…
Reference in a new issue