From 863c03f34bb83ff19cf43b3cb6d78193bebefd21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Thu, 27 Feb 2025 12:05:46 +0800 Subject: [PATCH] =?UTF-8?q?MimiType=E5=A2=9E=E5=8A=A0text/plain?= 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 054e348..3667e9b 100644 --- a/mime_type.go +++ b/mime_type.go @@ -96,6 +96,8 @@ const ( MimeTypeImagePng = "image/png" // MimeTypeJson json数据格式 MimeTypeJson = "application/json" + // MimeTypeTextPlain text/plain + MimeTypeTextPlain = "text/plain" // MimeTypeXWWWFormUrlencoded
中默认的encType,form表单数据被编码为key/value格式发送到服务器(表单默认的提交数据的格式) MimeTypeXWWWFormUrlencoded = "application/x-www-form-urlencoded" // MimeTypeXml xml请求方式