ithewei 6 years ago
parent
commit
08f8713cd0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      http/httpdef.h

+ 2 - 0
http/httpdef.h

@@ -157,6 +157,8 @@ enum http_method {
     XX(APPLICATION_URLENCODED,  application/x-www-form-urlencoded, kv)  \
     XX(MULTIPART_FORM_DATA,     multipart/form-data,               mp)  \
 
+#define X_WWW_FORM_URLENCODED   APPLICATION_URLENCODED // for compatibility
+
 enum http_content_type {
 #define XX(name, string, suffix)   name,
     CONTENT_TYPE_NONE,