diff --git a/unrouted_handler.go b/unrouted_handler.go index d36d73d..dde4eb3 100644 --- a/unrouted_handler.go +++ b/unrouted_handler.go @@ -19,7 +19,7 @@ var ( reExtractFileID = regexp.MustCompile(`([^/]+)\/?$`) reForwardedHost = regexp.MustCompile(`host=([^,]+)`) reForwardedProto = regexp.MustCompile(`proto=(https?)`) - reMimeType = regexp.MustCompile(`^[a-z]+\/[a-z\-]+$`) + reMimeType = regexp.MustCompile(`^[a-z]+\/[a-z\-\+]+$`) ) // HTTPError represents an error with an additional status code attached