Skip to content
Myr

Merge pull request #2491 from mrnom/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix grammar/typos

authored by David Lord · committed by GitHub · parents 0932d8f, c352714 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/patterns/fileuploads.rst+2 added-2 removed
147 unmodified lines
148149 app = Flask(__name__)150 app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024151152The code above will limited the maximum allowed payload to 16 megabytes.153If a larger file is transmitted, Flask will raise an152The code above will limit the maximum allowed payload to 16 megabytes.153If a larger file is transmitted, Flask will raise a154:exc:`~werkzeug.exceptions.RequestEntityTooLarge` exception.155156This feature was added in Flask 0.6 but can be achieved in older versions157as well by subclassing the request object. For more information on that
27 unmodified lines