diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index 06bd05fc87b..61992e0882b 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -52,6 +52,10 @@ static Persistent move_sym; static Persistent propfind_sym; static Persistent proppatch_sym; static Persistent unlock_sym; +static Persistent report_sym; +static Persistent mkactivity_sym; +static Persistent checkout_sym; +static Persistent merge_sym; static Persistent unknown_method_sym; static Persistent method_sym; @@ -121,6 +125,10 @@ method_to_str(unsigned short m) { case HTTP_PROPFIND: return propfind_sym; case HTTP_PROPPATCH: return proppatch_sym; case HTTP_UNLOCK: return unlock_sym; + case HTTP_REPORT: return report_sym; + case HTTP_MKACTIVITY: return mkactivity_sym; + case HTTP_CHECKOUT: return checkout_sym; + case HTTP_MERGE: return merge_sym; default: return unknown_method_sym; } } @@ -437,6 +445,10 @@ void InitHttpParser(Handle target) { propfind_sym = NODE_PSYMBOL("PROPFIND"); proppatch_sym = NODE_PSYMBOL("PROPPATCH"); unlock_sym = NODE_PSYMBOL("UNLOCK"); + report_sym = NODE_PSYMBOL("REPORT"); + mkactivity_sym = NODE_PSYMBOL("MKACTIVITY"); + checkout_sym = NODE_PSYMBOL("CHECKOUT"); + merge_sym = NODE_PSYMBOL("MERGE"); unknown_method_sym = NODE_PSYMBOL("UNKNOWN_METHOD"); method_sym = NODE_PSYMBOL("method");