diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-16 21:17:16 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2015-12-16 21:17:16 +0200 |
commit | 032414c0accb9877f94d8f16238ddddae470a7c4 (patch) | |
tree | 5541a2bb2050b39ec8c5d64d545d491ac310388f /strings.go | |
parent | Issue #20: Added TimeoutErrorWithCode helper function to RequestCtx (diff) | |
download | fasthttp-032414c0accb9877f94d8f16238ddddae470a7c4.tar.gz fasthttp-032414c0accb9877f94d8f16238ddddae470a7c4.tar.bz2 fasthttp-032414c0accb9877f94d8f16238ddddae470a7c4.zip |
Use utf-8 charset in defaultContentType
Diffstat (limited to 'strings.go')
-rw-r--r-- | strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ package fasthttp var ( defaultServerName = []byte("fasthttp") defaultUserAgent = []byte("fasthttp") - defaultContentType = []byte("text/plain") + defaultContentType = []byte("text/plain; charset=utf-8") ) var ( |