diff --git a/lib/http/server.js b/lib/http/server.js index a886ef4c..78a69b6f 100644 --- a/lib/http/server.js +++ b/lib/http/server.js @@ -102,8 +102,8 @@ HTTPServer.prototype._init = function _init() { var self = this; this.server.on('request', function(req, res) { - // if (req.pathname === '/') - // return; + if (req.method === 'POST' && req.pathname === '/') + return; self.logger.debug('Request for method=%s path=%s (%s).', req.method, req.pathname, req.socket.remoteAddress);