fastcgi: how to accept HTTP requests, and return a result

T

thorley

Greetings, I'm now merrily on my way developing a FastCGI Server in
python.
Thanks to help of others on this list I've got a proof of concept up
and
running.

Herein lies my question: My goal is to make this module as flexible as
possible,
so that it can receive requests from SimpleHTTP, or Cherrpy, or Webpy,
or any
other py web server.

What is the best way to accept HTTP requests and return the result?
Should I
subclass SimpleHTTPRequestHandler (as CGIHTTPRequestHandler does) or is
there
another/better way?

I dug around the net and the python source and didn't see much (next to
nothing) on
implementing your own request handlers, so I'm interested to hear what
ya'll have to
say.

Thanks
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top