ithewei 6 년 전
부모
커밋
08f8713cd0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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,