2df0b6e4b1
Signed-off-by: Michael Mayer <michael@photoprism.app>
23 lines
700 B
Go
23 lines
700 B
Go
package header
|
|
|
|
// Standard content request and response header names.
|
|
const (
|
|
Accept = "Accept"
|
|
AcceptEncoding = "Accept-Encoding"
|
|
AcceptRanges = "Accept-Ranges"
|
|
ContentType = "Content-Type"
|
|
ContentDisposition = "Content-Disposition"
|
|
ContentEncoding = "Content-Encoding"
|
|
ContentRange = "Content-Range"
|
|
Location = "Location"
|
|
Origin = "Origin"
|
|
Vary = "Vary"
|
|
)
|
|
|
|
// Standard ContentType header values.
|
|
const (
|
|
ContentTypeForm = "application/x-www-form-urlencoded"
|
|
ContentTypeMultipart = "multipart/form-data"
|
|
ContentTypeJson = "application/json"
|
|
ContentTypeJsonUtf8 = "application/json; charset=utf-8"
|
|
)
|