This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: BaseHTTPServer to take host from cmdline?
Type: enhancement Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, tlynn
Priority: low Keywords:

Created on 2004-07-05 23:29 by tlynn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg21418 - (view) Author: Tom Lynn (tlynn) Date: 2004-07-05 23:29
BaseHTTPServer.py can be run from the command line, in
which case it takes its port from the command line but
it assumes the hostname is empty.  My grasp of these
things is poor, but  my understanding is that empty
hostname implies not externally visible.  Shouldn't it
be possible to supply the hostname on the command line
too (even if the above belief is incorrect)?
msg21419 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-09-29 20:30
Logged In: YES 
user_id=1188172

Calling BaseHTTPServer directly only calls a test() method,
which means that this is not intended for serious use. For
that you should create your own server instance.

If you feel otherwise, you can reopen this.
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40511
2004-07-05 23:29:49tlynncreate