Skip to content

Commit

Permalink
bpo-23952: Document cgi module's maxlen variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 2, 2022
1 parent a1978d6 commit c224527
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/library/cgi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 ``maxlen`` variable 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
------------
Expand Down

0 comments on commit c224527

Please sign in to comment.