express-body-parser-error-handler
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "express-body-parser-error-handler", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "middleware to be set right after body parser in order to return 4xx error back to the client", | ||
@@ -46,2 +46,2 @@ "scripts": { | ||
} | ||
} | ||
} |
@@ -6,3 +6,6 @@ # express-body-parser-error-handler | ||
## About | ||
99.9% of the time your going to use body parser on your express server application There’re multiple kinds of errors raised by body-parser. | ||
99.9% of the time your going to use body parser on your express server application , even if your going to use express.json,raw,text or urlencoded under the hood it also uses body parser [express source code](https://github.com/expressjs/express/blob/master/lib/express.js#L78) | ||
There’re multiple kinds of errors raised by body-parser. | ||
They involve sending bad headers or data that are not accepted by it, or canceling requests before all the data is read. | ||
@@ -9,0 +12,0 @@ Various 400 series error status codes will be sent as the response along with the corresponding error messages and stack trace |
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
7089
115