By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,512 Members | 3,847 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,512 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
--
matthew

Jul 6 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.