lib/httphelper.js
function httpOk(req, res, content, fileExt) {
    res.writeHead(200, {
        'Content-Type': Mine.getType(fileExt),
    });
    res.write(content, 'binary');
    res.end();
}
function httpOk(req, res, content, fileExt) {
    res.writeHead(200, {
        'Content-Type': Mine.getType(fileExt),
    });
    res.write(content, 'binary');
    res.end();
}
function httpOk ( req , res , content , fileExt ) { res . writeHead ( 200 , { 'Content-Type' : Mine . getType ( fileExt ) , } ) ; res . write ( content , 'binary' ) ; res . end ( ) ; }
Default implementation OK HTTP response on GET file request
@param {Object} req HTTP request
@param {Object} res HTTP response
@param {string} content File content
@param {string} fileExt File extension
Default implementation OK HTTP response on GET file request