This is my program to catch M-SEARCH request.
router['m-search']('/', function(req, res, next) {
res.send('Got a M-SEARCH request\n');
});
This code can response for such request.
M-SEARCH / HTTP/1.1
but, can not for such request
M-SEARCH * HTTP/1.1
So, What I've modified like this, but I could not find any changes on this situations.
router['m-search']('*', function(req, res, next) {
res.send('Got a M-SEARCH request\n');
});
How can I catch real M-SEARCH request on Express?