You're replying to a comment by Peter Krumins.

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 "security_215": (just to make sure you're a human)

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