You're viewing a comment by asdfa and its responses.

April 28, 2010, 17:28

Why port 80 only? some webservers run on alternate ports.

Comment Responses

April 29, 2010, 14:09

Port 80 because I wanted the code to fit in 20 lines.

You can just split on ':' on request.url and see if another port is specified...

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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