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 lufte
Recipients lufte
Date 2020-10-11.00:53:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602377597.5.0.712668345738.issue42004@roundup.psfhosted.org>
In-reply-to
Content
Hello. I'm a big fan of the http.server module to quickly serve some files in a local network with `python3 -m http.server`. I regularly needed to get some files from other people too, but getting everyone to install/run python3 was not such a simple task. Eventually I wrote a subclass of SimpleHTTPRequestHandler that added a form with a file input and accepted POST requests, so people could also upload files to my computer. I think this would be a fine addition to SimpleHTTPRequestHandler, so I'm attaching a potential patch that implements this and adds a new cli parameter so this feature is only enabled explicitly.
History
Date User Action Args
2020-10-11 00:53:17luftesetrecipients: + lufte
2020-10-11 00:53:17luftesetmessageid: <1602377597.5.0.712668345738.issue42004@roundup.psfhosted.org>
2020-10-11 00:53:17luftelinkissue42004 messages
2020-10-11 00:53:17luftecreate