File tree Expand file tree Collapse file tree 2 files changed +131
-123
lines changed Expand file tree Collapse file tree 2 files changed +131
-123
lines changed Original file line number Diff line number Diff line change @@ -289,11 +289,13 @@ algorithms implemented in this module in other circumstances.
289
289
This function is deprecated in this module. Use :func: `urllib.parse.parse_qs `
290
290
instead. It is maintained here only for backward compatibility.
291
291
292
+
292
293
.. function :: parse_qsl(qs, keep_blank_values=False, strict_parsing=False)
293
294
294
295
This function is deprecated in this module. Use :func: `urllib.parse.parse_qsl `
295
296
instead. It is maintained here only for backward compatibility.
296
297
298
+
297
299
.. function :: parse_multipart(fp, pdict, encoding="utf-8")
298
300
299
301
Parse input of type :mimetype: `multipart/form-data ` (for file uploads).
@@ -309,6 +311,10 @@ algorithms implemented in this module in other circumstances.
309
311
uploaded --- in that case, use the :class: `FieldStorage ` class instead
310
312
which is much more flexible.
311
313
314
+ .. versionchanged :: 3.7
315
+ Added the *encoding * parameter. For non-file fields, the value is now
316
+ a list of strings, not bytes.
317
+
312
318
313
319
.. function :: parse_header(string)
314
320
You can’t perform that action at this time.
0 commit comments