bpo-29979: rewrite cgi.parse_multipart() by PierreQuentel · Pull Request #990 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

PierreQuentel wants to merge 33 commits intopython:masterfrom

PierreQuentel:parse_multipart

Closed

bpo-29979: rewrite cgi.parse_multipart()#990

PierreQuentel wants to merge 33 commits intopython:masterfrom

PierreQuentel:parse_multipart

Conversation

@PierreQuentel

Copy link Copy Markdown

Contributor

The Pull Request simplifies the code of cgi.parse_multipart() by reusing the FieldStorage class, and makes it consistent with FieldStorage results : the values for non-file fields becomes a list of strings, instead of a list of bytes.

Pierre Quentel and others added 30 commits

February 25, 2017 21:44
… check that it's a valid HTTP date with timezone set to UTC.
…format ; ignore ill-formed values in If-Modified-Since header.
…several methods ; add a test for Last-Modified header.

@mention-bot

Copy link Copy Markdown

@PierreQuentel, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rhettinger, @orsenthil and @collinw to be potential reviewers.

@PierreQuentel

Copy link Copy Markdown

Contributor Author

Sorry, I'm not using the correct version of the Github master repo. I close this PR and will open another one soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@PierreQuentel @mention-bot @the-knights-who-say-ni @serhiy-storchaka