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.

Author matrixise
Recipients matrixise
Date 2016-11-15.22:31:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479249109.08.0.530385659795.issue28707@psf.upfronthosting.co.za>
In-reply-to
Content
When we execute the http.server module, the tool will use the current directory (os.getcwd()) but sometimes we would like to specify a directory on the command line. 

With the next patch, I try to fix this missing feature ;-)

Just with python -m http.server -d /tmp

by default the system will use the current directory.
if necessary, I will show an error if the directory does not exist.
History
Date User Action Args
2016-11-15 22:31:49matrixisesetrecipients: + matrixise
2016-11-15 22:31:49matrixisesetmessageid: <1479249109.08.0.530385659795.issue28707@psf.upfronthosting.co.za>
2016-11-15 22:31:49matrixiselinkissue28707 messages
2016-11-15 22:31:49matrixisecreate