remove_date
Just a simple hack to remove Date header from HTTP(S) response. Similar to remove_connection
Installation
Install through NPM
npm install remove_date
or
git clone git://github.com/hex7c0/remove_date.git
API
inside nodejs project
var setDate = ; ;
as middleware
var setDate = setDateMiddleware;var app = ; app;
setDate(res [, setHeader])
options
res
- Object response to client (default "required")setHeader
- Boolean setHeader block (default "optional")
setDateMiddleware([setHeader])
options
setHeader
- Boolean setHeader block (default "optional")
Examples
Take a look at my examples