Merge pull request #2491 from mrnom/patch-1

Fix grammar/typos
This commit is contained in:
David Lord 2017-10-11 07:03:32 -07:00 committed by GitHub
commit 82e66848e8

View file

@ -149,8 +149,8 @@ config key::
app = Flask(__name__)
app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
The code above will limited the maximum allowed payload to 16 megabytes.
If a larger file is transmitted, Flask will raise an
The code above will limit the maximum allowed payload to 16 megabytes.
If a larger file is transmitted, Flask will raise a
:exc:`~werkzeug.exceptions.RequestEntityTooLarge` exception.
This feature was added in Flask 0.6 but can be achieved in older versions