Parsing form input in a BaseHTTPServer

R

Ron Garret

I'm write a web server using BaseHTTPServer. It can't be a CGI because
it has to do some weird server-push stuff as database updates come in.
But I still need to process form inputs as if it were a CGI. But the
cgi module only works in a CGI environment. Is there something with the
equivalent functionality of cgi.FieldStorage for parsing form input in a
non-CGI environment such as a BaseHTTPServer? I looked at the cgi
module code but it looked like it was pretty heavily intertwingled with
the CGI environment variables.

Thanks,
rg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top