Skip to content
Snippets Groups Projects
Unverified Commit 4af722b8 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Replace `void 0` by `undefined`

parent 02bb866b
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ WebApp.rawConnectHandlers.use(function(req, res, next) {
if (req._body) {
return next();
}
if (req.headers['transfer-encoding'] === void 0 && isNaN(req.headers['content-length'])) {
if (req.headers['transfer-encoding'] === undefined && isNaN(req.headers['content-length'])) {
return next();
}
if (req.headers['content-type'] !== '' && req.headers['content-type'] !== undefined) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment