lib/httphelper.js
function httpNotFound(req, res) {
    console.log(`No request handler found for ${req.url}`);
    res.writeHead(404, { 'Content-Type': 'text/plain' });
    res.write('404 Not found');
    res.end();
}
function httpNotFound(req, res) {
    console.log(`No request handler found for ${req.url}`);
    res.writeHead(404, { 'Content-Type': 'text/plain' });
    res.write('404 Not found');
    res.end();
}
function httpNotFound ( req , res ) { console . log ( ` ${ req . url } ` ) ; res . writeHead ( 404 , { 'Content-Type' : 'text/plain' } ) ; res . write ( '404 Not found' ) ; res . end ( ) ; }
Default implementation of NotFound HTTP response
@param {Object} req HTTP request
@param {Object} res HTTP response
Default implementation of NotFound HTTP response