Re: SimpleHTTPServer and CgiHTTPServer in practice

2017-03-18 Thread Chris Warrick
On 17 March 2017 at 01:28, Paul Rubin wrote: > Lutz Horn writes: >> We don't know *why* those people told you not to use these modules. We >> also don't know your use case. So it is very hard to advise you. > > The use case is to have a very easily set up way to serve basic pages > and files, wit

Re: SimpleHTTPServer and CgiHTTPServer in practice

2017-03-16 Thread Paul Rubin
Lutz Horn writes: > We don't know *why* those people told you not to use these modules. We > also don't know your use case. So it is very hard to advise you. The use case is to have a very easily set up way to serve basic pages and files, without a lot of configuration files and other infrastruct

Re: SimpleHTTPServer and CgiHTTPServer in practice

2017-03-16 Thread sjmsoft
For a couple of years we've used SimpleHTTPServer to serve pages to internal users at low volumes, and we find it to be reliable and trivial to set up. We have not subjected it to a rigorous security assessment. HTH, Steve J. Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: SimpleHTTPServer and CgiHTTPServer in practice

2017-03-16 Thread Lutz Horn
Some Python users have told me that isn't a good idea, but without any specifics. We don't know *why* those people told you not to use these modules. We also don't know your use case. So it is very hard to advise you. Lutz -- https://mail.python.org/mailman/listinfo/python-list

SimpleHTTPServer and CgiHTTPServer in practice

2017-03-15 Thread Paul Rubin
Sometimes I have a short term requirement to serve some data by http, so I've been using those modules rather than setting up a full featured web server. Some Python users have told me that isn't a good idea, but without any specifics. Are there any known problems with them such as security bugs,