This reads a bit awkward. You do want the web server to handle these different cases. Maybe better to say that you don't want do_GET to end up as a long tangle of if statements rather than the web server itself?