+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 <[email protected]> 
> wrote: 
> > Take a look at the source code and it will give you an idea. 
> > https://github.com/joyent/node/blob/master/lib/http.js#L949 
> > 
> > 
> > On Friday, June 15, 2012 3:14:35 AM UTC-4, Jason.桂林(Gui Lin) wrote: 
> >> 
> >> I found writeHead is much faster if there is no setHeader before. 
> >> 
> >> 
> >> -- 
> >> Best regards, 
> >> 
> >> 桂林 (Gui Lin) 
> >> 
> >> guileen@twitter 
> >> 桂糊涂@weibo 
> >> guileen@github 
> >> 
> > -- 
> > Job Board: http://jobs.nodejs.org/ 
> > Posting guidelines: 
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
> > You received this message because you are subscribed to the Google 
> > Groups "nodejs" group. 
> > To post to this group, send email to [email protected] 
> > To unsubscribe from this group, send email to 
> > [email protected] 
> > For more options, visit this group at 
> > http://groups.google.com/group/nodejs?hl=en?hl=en 
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to