Skip to content
Myr

Fixed an rst error

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 82b143f · Browse files · 2 files+3 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

2 files+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:docs/patterns/fileuploads.rst+1 added-1 removed
130 unmodified lines
131webserver's memory if the files are reasonable small otherwise in a132temporary location (as returned by :func:`tempfile.gettempdir`). But how133do you specify the maximum file size after which an upload is aborted? By134default Flask will happily accept file uploads to an unlimited amount of135memory, but you can limit that by setting the `MAX_CONTENT_LENGTH`135memory, but you can limit that by setting the ``MAX_CONTENT_LENGTH``136config key::137138 from flask import Flask, Request139
41 unmodified lines
modified:docs/config.rst+2 added-1 removed
91 unmodified lines
9293.. versionadded:: 0.594 ``SERVER_NAME``9596.. versionadded:: ``MAX_CONTENT_LENGTH``96.. versionadded:: 0.697 ``MAX_CONTENT_LENGTH``9899Configuring from Files100----------------------101
127 unmodified lines