writeHead is pretty useless. setHeader with an array is also a bad API
IMHO, if I want to set a few cookies in an app they most likely wont
be set together in the same block of code, this is why Connect patches
setHeader to give it a progressive API
On Jun 16, 1:09 am, Tom <
tommed...@gmail.com> wrote:
> +1 for pick one API and deprecate the other. Having multiple APIs do the
> same thing only causes confusion.
>
> Tom
>
> Op zaterdag 16 juni 2012 05:38:37 UTC+2 schreef Isaac Schlueter het
> volgende:
>
>
>
>
>
>
>
>
>
> > Yeah, you can't mix and match them very well. We should probably
> > print a warning or something in that case, or just pick one API and
> > deprecate the other.
>
> > On Fri, Jun 15, 2012 at 2:02 PM, Tim Dickinson <
price.ti...@gmail.com>
> > >
nodejs+un...@googlegroups.com