diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-02-06 15:59:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 05:59:32 -0800 |
commit | 6c4e44ef8ab550f846ba056d4561efb8256b8eab (patch) | |
tree | 0abfe06e915f4551c6a628a63193f0f60bb8f97b /Lib/cgi.py | |
parent | fa90e48c53384889d28f171170ab79d777d46949 (diff) | |
download | cpython-6c4e44ef8ab550f846ba056d4561efb8256b8eab.tar.gz cpython-6c4e44ef8ab550f846ba056d4561efb8256b8eab.zip |
bpo-23952: Document cgi module's maxlen variable (GH-30338)
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index 6cb8cf28bd6..22897a14a9c 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -13,6 +13,11 @@ This module defines a number of utilities for use by CGI scripts written in Python. + +The global variable maxlen can be set to an integer indicating the maximum size +of a POST request. POST requests larger than this size will result in a +ValueError being raised during parsing. The default value of this variable is 0, +meaning the request size is unlimited. """ # History |