You're replying to a comment by respectTheCode.

respectTheCode Permalink
September 17, 2011, 13:02

You can actually take 4 lines of code out by passing the end function directly to the end event listener. For example

request.addListener('end', function() {

can be written as

request.addListener('end', proxy_request.end);

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "coding_215": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.