diff --git a/server/handlers.go b/server/handlers.go index 02c52aa..f513997 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -383,7 +383,7 @@ type Metadata struct { func MetadataForRequest(contentType string, r *http.Request) Metadata { metadata := Metadata{ - ContentType: contentType, + ContentType: strings.ToLower(contentType), MaxDate: time.Time{}, Downloads: 0, MaxDownloads: -1,