contentType = 'text/css';
break
;
case
'.gif':
contentType = 'image/gif';
break
;
case
'.jpg':
contentType = 'image/jpeg';
break
;
case
'.png':
contentType = 'image/png';
break
;
case
'.ico':
contentType = 'image/icon';
break
;
default
:
contentType = 'application/octet-stream';
}
return
contentType;
}
function
httpService(req, res){
var
reqUrl = req.url,