From f4e76d1e8ac0d50781b6c0b17f2f7106d9e3f811 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, 1 Jan 2024 14:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=9A=E4=B8=BE=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mime_type.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mime_type.go b/mime_type.go index dafe58d..fd2c322 100644 --- a/mime_type.go +++ b/mime_type.go @@ -12,6 +12,8 @@ package consts const ( + MimeTypeNone = "none" + // MimeTypeAudioAcp .acp 后缀的文件 // 编码的高效率高级音频编码( HE-AAC )版本1格式的音频文件(称为“ aacPlus的”);类似于.AAC文件,但压缩和用于流优化音频,用于互联网广播和其他在线音乐流。 MimeTypeAudioAcp = "audio/x-mei-aac" @@ -83,6 +85,8 @@ const ( MimeTypeApplicationEps = "application/x-ps" // MimeTypeApplicationEtd .etd 后缀文件 MimeTypeApplicationEtd = "application/x-ebx" + // MimeTypeOctetStream 二进制流数据 + MimeTypeOctetStream = "application/octet-stream" // MimeTypeImageFax .fax 后缀文件 MimeTypeImageFax = "image/fax" @@ -92,6 +96,8 @@ const ( MimeTypeImagePng = "image/png" // MimeTypeJson json数据格式 MimeTypeJson = "application/json" + // MimeTypeXWWWFormUrlencoded
中默认的encType,form表单数据被编码为key/value格式发送到服务器(表单默认的提交数据的格式) + MimeTypeXWWWFormUrlencoded = "application/x-www-form-urlencoded " // MimeTypeAcc acc音频 MimeTypeAcc = "audio/acc" // MimeTypeAbw .abw后缀的文件