node.js - Express request type mismatch -


i use express middleware check request type, i'm getting surprising results, here middleware code:

app.use(function (req, res, next) {     console.log(req.method);     next(); }); 

and here console output get:

post /parse/login 404 528.160 ms - 57 

what can cause such behaviour , can way avoid it?


Comments