jsonapi-server
Advanced tools
Comparing version 1.15.2 to 1.15.3
@@ -0,1 +1,3 @@ | ||
- 2016-07-06 - v1.15.3 | ||
- 2016-07-06 - Provide text error to help debug HTTP 415s | ||
- 2016-07-06 - v1.15.2 | ||
@@ -2,0 +4,0 @@ - 2016-07-06 - CORS headers are now applier further up the middleware chain |
@@ -45,3 +45,3 @@ /* @flow weak */ | ||
if (req.headers["content-type"].match(/^application\/vnd\.api\+json;.+$/)) { | ||
return res.status(415).end(); | ||
return res.status(415).end("HTTP 415 Unsupported Media Type - [" + req.headers["content-type"] + "]"); | ||
} | ||
@@ -48,0 +48,0 @@ |
{ | ||
"name": "jsonapi-server", | ||
"version": "1.15.2", | ||
"version": "1.15.3", | ||
"description": "A config driven NodeJS framework implementing json:api", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
244104