ithewei 6 năm trước cách đây
mục cha
commit
08f8713cd0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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,