diff options
author | MoreFreeze <morefreeze@users.noreply.github.com> | 2021-05-17 15:20:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 09:20:18 +0200 |
commit | ffa0cabed8199819e372ebd2c739998914150ff2 (patch) | |
tree | 287ed33be99cee824e6c2eaebf3dfa7ab5e93c4f /strings.go | |
parent | feature: add ConvertRequest func (#1024) (diff) | |
download | fasthttp-ffa0cabed8199819e372ebd2c739998914150ff2.tar.gz fasthttp-ffa0cabed8199819e372ebd2c739998914150ff2.tar.bz2 fasthttp-ffa0cabed8199819e372ebd2c739998914150ff2.zip |
Use proper content-type when it is not present (#1023)
Co-authored-by: liuchenxing <liuchenxing@bytedance.com>
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,6 +77,7 @@ var ( strIdentity = []byte("identity") str100Continue = []byte("100-continue") strPostArgsContentType = []byte("application/x-www-form-urlencoded") + strDefaultContentType = []byte("application/octet-stream") strMultipartFormData = []byte("multipart/form-data") strBoundary = []byte("boundary") strBytes = []byte("bytes") |