[issue40034] cgi.parse() does not work with multipart POST requests.

2020-03-23 Thread San
Change by San : -- keywords: +patch pull_requests: +18492 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19130 ___ Python tracker ___

[issue40034] cgi.parse() does not work with multipart POST requests.

2020-03-21 Thread San
New submission from San : The cgi.parse stdlib function works in most cases but never works when given a multipart/form-data POST request because it does not set up pdict in a way cgi.parse_multipart() likes (boundary as bytes (not str) and including content length). $ pwd /tmp $ $