diff --git a/Source/Validation.swift b/Source/Validation.swift index ed37170a3ad297c9215f06b6015f150fd9488ed5..417f5133c5273f63c1202c73c05c5632d87eccb9 100644 --- a/Source/Validation.swift +++ b/Source/Validation.swift @@ -117,6 +117,12 @@ extension Request { return true } } + } else { + for contentType in acceptableContentTypes { + if let MIMEType = MIMEType(contentType) where MIMEType.type == "*" && MIMEType.subtype == "*" { + return true + } + } } return false