From ab1d691f309d7a5d4acfc2c24a3ca652ed1a96a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 4 Nov 2024 16:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0contentType=20xml=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mime_type.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mime_type.go b/mime_type.go index 35f29d5..24c9168 100644 --- a/mime_type.go +++ b/mime_type.go @@ -98,6 +98,8 @@ const ( MimeTypeJson = "application/json" // MimeTypeXWWWFormUrlencoded
中默认的encType,form表单数据被编码为key/value格式发送到服务器(表单默认的提交数据的格式) MimeTypeXWWWFormUrlencoded = "application/x-www-form-urlencoded" + // MimeTypeXWWWFormXml xml请求方式 + MimeTypeXWWWFormXml = "application/xml" // MimeTypeAcc acc音频 MimeTypeAcc = "audio/acc" // MimeTypeAbw .abw后缀的文件