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<http://nodejs.org/api/http.html#http_response_writehead_statuscode_reasonphrase_headers>
>  is 
> much faster if there is no 
> setHeader<http://nodejs.org/api/http.html#http_response_setheader_name_value>
>  before.
>
>
> -- 
> Best regards,
>
> 桂林 (Gui Lin)
>
> guileen@twitter <https://twitter.com/#!/guileen>
> 桂糊涂@weibo <http://weibo.com/guileen>
> guileen@github <https://github.com/guileen>
>
> 

-- 
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