SimpleHTTPServer, queries unhandled?

Steve Holden steve at holdenweb.com
Mon Dec 27 14:45:49 CET 2004


Bryan Rasmussen wrote:

> Hey just doing some preliminary testing with SimpleHTTPServer, and i noticed
> that when i request a resource with a query string parameters that this was not
> handled. 
> 
> is this correct, or is there a method to set query string handling?

Well, since SimpleHTTPServer doesn't implement CGIs, the only stuff it 
can serve up is static content, which clearly can't use any query string 
input anyway. You probably want CGIHTTPServer.

regards
  Steve
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119



More information about the Python-list mailing list