mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
3bbc90ec24
* refactor: move json related header vars to internal * refactor: use header.ContentType
11 lines
298 B
Go
11 lines
298 B
Go
package header
|
|
|
|
const (
|
|
// ApplicationJson stands for application/json.
|
|
ApplicationJson = "application/json"
|
|
// ContentType is the header key for Content-Type.
|
|
ContentType = "Content-Type"
|
|
// JsonContentType is the content type for JSON.
|
|
JsonContentType = "application/json; charset=utf-8"
|
|
)
|