forked from orbit-oss/flask
Fixed an rst error
This commit is contained in:
parent
82b143f972
commit
dbb3620792
2 changed files with 3 additions and 2 deletions
|
|
@ -93,7 +93,8 @@ The following configuration values are used internally by Flask:
|
|||
.. versionadded:: 0.5
|
||||
``SERVER_NAME``
|
||||
|
||||
.. versionadded:: ``MAX_CONTENT_LENGTH``
|
||||
.. versionadded:: 0.6
|
||||
``MAX_CONTENT_LENGTH``
|
||||
|
||||
Configuring from Files
|
||||
----------------------
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ webserver's memory if the files are reasonable small otherwise in a
|
|||
temporary location (as returned by :func:`tempfile.gettempdir`). But how
|
||||
do you specify the maximum file size after which an upload is aborted? By
|
||||
default Flask will happily accept file uploads to an unlimited amount of
|
||||
memory, but you can limit that by setting the `MAX_CONTENT_LENGTH`
|
||||
memory, but you can limit that by setting the ``MAX_CONTENT_LENGTH``
|
||||
config key::
|
||||
|
||||
from flask import Flask, Request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue