bpo-23952: Document cgi module's maxlen variable (GH-30338)

This commit is contained in:
Hugo van Kemenade 2022-02-06 15:59:32 +02:00 committed by GitHub
parent fa90e48c53
commit 6c4e44ef8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -21,6 +21,11 @@ Support module for Common Gateway Interface (CGI) scripts.
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
:exc:`ValueError` being raised during parsing. The default value of this
variable is ``0``, meaning the request size is unlimited.
Introduction
------------

View File

@ -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