This API lgtm, but it *should* be documented.

On Sun, Feb 12, 2012 at 17:55, Mark Nottingham <[email protected]> wrote:
> I've updated my patch. It already has an undocumented way to disable; e.g.,
>
> var server = http.createServer(function(req, res) {
>   res.shouldSendDate = false;
>   res.writeHead(200, {
>     'Content-Type' : 'text/plain',
>   });
>   res.end("foo!");
> });
>
> Is that adequate? It's similar to the undocumented half close stuff; servers
> don't have an options parameter...

Reply via email to