Skip to content

Commit 8ba66c1

Browse files
committed
♻️ refactor: update codebase #2
1 parent 81aea92 commit 8ba66c1

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"jsonpass",
1616
"jsonpretty",
1717
"jsonptr",
18+
"JSONUTF",
1819
"Kbps",
1920
"Localef",
2021
"Mbps",

constant.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ const (
273273
// Example: "application/json"
274274
MediaTypeApplicationJSON = "application/json"
275275

276+
// ApplicationJSONUTF8 specifies that the content is JSON-formatted data with UTF-8 character encoding.
277+
// Example: "application/json; charset=utf-8"
278+
MediaTypeApplicationJSONUTF8 = "application/json; charset=utf-8"
279+
276280
// ApplicationXML specifies that the content is XML-formatted data.
277281
// Example: "application/xml"
278282
MediaTypeApplicationXML = "application/xml"

0 commit comments

Comments
 (0)