Skip to content

Commit a1978d6

Browse files
committed
bpo-23952: Document cgi module's maxlen variable
1 parent 863729e commit a1978d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Lib/cgi.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
1414
This module defines a number of utilities for use by CGI scripts
1515
written in Python.
16+
17+
The maxlen variable can be set to an integer indicating the maximum size of a
18+
POST request. POST requests larger than this size will result in a ValueError
19+
being raised during parsing. The default value of this variable is 0, meaning
20+
the request size is unlimited.
1621
"""
1722

1823
# History

0 commit comments

Comments
 (0)