Comparing version 4.0.4 to 4.0.5
@@ -31,2 +31,6 @@ 'use strict'; | ||
if (!header) { | ||
throw Boom.badRequest('Invalid content-type header'); | ||
} | ||
const match = header.match(internals.contentTypeRegex); | ||
@@ -33,0 +37,0 @@ if (!match) { |
{ | ||
"name": "content", | ||
"description": "HTTP Content-* headers parsing", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"repository": "git://github.com/hapijs/content", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8118
89