I truly don't get what this is trying to demonstrate?
I mean, I could write a one word web app:
dwim
(Details of the standard library implementation are left as an exercise.)