Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7] bpo-32996: Improve What's New in 3.7. (GH-5983) #6071

Merged
merged 1 commit into from Mar 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions Doc/library/cgi.rst
Expand Up @@ -289,11 +289,13 @@ algorithms implemented in this module in other circumstances.
This function is deprecated in this module. Use :func:`urllib.parse.parse_qs`
instead. It is maintained here only for backward compatibility.


.. function:: parse_qsl(qs, keep_blank_values=False, strict_parsing=False)

This function is deprecated in this module. Use :func:`urllib.parse.parse_qsl`
instead. It is maintained here only for backward compatibility.


.. function:: parse_multipart(fp, pdict, encoding="utf-8")

Parse input of type :mimetype:`multipart/form-data` (for file uploads).
Expand All @@ -309,6 +311,10 @@ algorithms implemented in this module in other circumstances.
uploaded --- in that case, use the :class:`FieldStorage` class instead
which is much more flexible.

.. versionchanged:: 3.7
Added the *encoding* parameter. For non-file fields, the value is now
a list of strings, not bytes.


.. function:: parse_header(string)

Expand Down