mirror of
https://github.com/labstack/echo.git
synced 2024-11-28 08:38:39 +02:00
Fixed #131 - Use utf-8 encoding for bind and render API
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
4abea5d987
commit
c4357ca80b
8
echo.go
8
echo.go
@ -90,13 +90,13 @@ const (
|
||||
// Media types
|
||||
//-------------
|
||||
|
||||
ApplicationJSON = "application/json"
|
||||
ApplicationXML = "application/xml"
|
||||
ApplicationJSON = "application/json; charset=utf-8"
|
||||
ApplicationXML = "application/xml; charset=utf-8"
|
||||
ApplicationForm = "application/x-www-form-urlencoded"
|
||||
ApplicationProtobuf = "application/protobuf"
|
||||
ApplicationMsgpack = "application/msgpack"
|
||||
TextPlain = "text/plain"
|
||||
TextHTML = "text/html"
|
||||
TextHTML = "text/html ;charset=utf-8"
|
||||
TextPlain = "text/plain ;charset=utf-8"
|
||||
MultipartForm = "multipart/form-data"
|
||||
|
||||
//---------
|
||||
|
Loading…
Reference in New Issue
Block a user