diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-03-11 01:48:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 01:48:14 (GMT) |
commit | 51302a5fcc557e6afc0bf1e3b371f5f37c76dc77 (patch) | |
tree | b10c11553beb3977d6c38643aa8f9009691474f7 /Doc/library/cgi.rst | |
parent | 9cf8c42f3231d3f066670d087a997bd1278482a0 (diff) | |
download | cpython-51302a5fcc557e6afc0bf1e3b371f5f37c76dc77.zip cpython-51302a5fcc557e6afc0bf1e3b371f5f37c76dc77.tar.gz cpython-51302a5fcc557e6afc0bf1e3b371f5f37c76dc77.tar.bz2 |
bpo-32996: Improve What's New in 3.7. (#5983)
Diffstat (limited to 'Doc/library/cgi.rst')
-rw-r--r-- | Doc/library/cgi.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst index b60e1cc..17386b8 100644 --- a/Doc/library/cgi.rst +++ b/Doc/library/cgi.rst @@ -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). @@ -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) |