mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
Header: Add "Content-Language" const
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -9,6 +9,7 @@ const (
|
||||
ContentType = "Content-Type"
|
||||
ContentDisposition = "Content-Disposition"
|
||||
ContentEncoding = "Content-Encoding"
|
||||
ContentLanguage = "Content-Language"
|
||||
ContentLength = "Content-Length"
|
||||
ContentRange = "Content-Range"
|
||||
Location = "Location"
|
||||
|
@@ -16,6 +16,7 @@ func TestContent(t *testing.T) {
|
||||
assert.Equal(t, "Content-Type", ContentType)
|
||||
assert.Equal(t, "Content-Disposition", ContentDisposition)
|
||||
assert.Equal(t, "Content-Encoding", ContentEncoding)
|
||||
assert.Equal(t, "Content-Language", ContentLanguage)
|
||||
assert.Equal(t, "Content-Length", ContentLength)
|
||||
assert.Equal(t, "Content-Range", ContentRange)
|
||||
assert.Equal(t, "Location", Location)
|
||||
|
Reference in New Issue
Block a user