[ python-Bugs-985651 ] BaseHTTPServer to take host from cmdline?

SourceForge.net noreply at sourceforge.net
Thu Sep 29 22:30:11 CEST 2005


Bugs item #985651, was opened at 2004-07-06 01:29
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=985651&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Feature Request
>Status: Closed
>Resolution: Wont Fix
Priority: 2
Submitted By: Tom Lynn (tlynn)
Assigned to: Nobody/Anonymous (nobody)
Summary: BaseHTTPServer to take host from cmdline?

Initial Comment:
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)?

----------------------------------------------------------------------

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-09-29 22:30

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=985651&group_id=5470


More information about the Python-bugs-list mailing list