[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-18 Thread Jake
Jake added the comment: I would find this very useful. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-18 Thread Jake
Change by Jake : -- nosy: +jacobsorme ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-13 Thread Jürgen Gmach
Jürgen Gmach added the comment: Disclaimer: I am not cpython maintainer - I just wanted to give a bit of context for using `cgi.FieldStorage`. Personally, I'd rather not include this in the std, but create a small package for PyPI. But that's only me. Wait until you get feedback from a

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-12 Thread Javier Ayres
Javier Ayres added the comment: I see. To be honest I didn't know FieldStorage at all, it was the best way I found of dealing with file data in requests using just the standard library. If you think this feature makes sense and it could be included, I could look into removing the

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-11 Thread Jürgen Gmach
Jürgen Gmach added the comment: There is PEP 594 (draft), which - when accepted - will remove cgi.FieldStorage https://www.python.org/dev/peps/pep-0594/ https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704 This comes from an idea to relief the burden of

[issue42004] Allow uploading files with SimpleHTTPRequestHandler

2020-10-10 Thread Javier Ayres
New submission from Javier Ayres : 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.