This commit is contained in:
Kevin Wan
2022-04-28 11:25:26 +08:00
committed by GitHub
parent cc09ab2aba
commit cef83efd4e
5 changed files with 9 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ const (
slash = "/"
colon = ':'
contentType = "Content-Type"
applicationJson = "application/json"
applicationJson = "application/json; charset=utf-8"
)
// ErrGetWithBody indicates that GET request with body.

View File

@@ -2,7 +2,7 @@ package httpx
const (
// ApplicationJson means application/json.
ApplicationJson = "application/json"
ApplicationJson = "application/json; charset=utf-8"
// ContentEncoding means Content-Encoding.
ContentEncoding = "Content-Encoding"
// ContentSecurity means X-Content-Security.