headers.go 509 B

1234567891011121314
  1. package header
  2. const (
  3. // ApplicationJson stands for application/json.
  4. ApplicationJson = "application/json"
  5. // ContentType is the header key for Content-Type.
  6. ContentType = "Content-Type"
  7. // JsonContentType is the content type for JSON.
  8. JsonContentType = "application/json; charset=utf-8"
  9. // FormUrlEncodedType is the content type for Form Url Encoded
  10. FormUrlEncodedType = "application/x-www-form-urlencoded"
  11. // FormDataType is the content type for Form-Data
  12. FormDataType = "multipart/form-data"
  13. )