Here's a little recipe for parsing user input out of a WSGI environ, taking advantage of WSGI's CGI inheritance. Does it have to be any harder?
environ