pallets/flask

extend config for Request form memory settings

Closed this issue · 0 comments

Werkzeug provides three settings on Request to control form parsing: max_content_length, max_form_memory_size, and max_form_parts. Only max_content_length is exposed as a Flask config right now, and the way it's implemented means it can only be set for the whole application, not per-request. Fix all that. Document these in the security page as well as the config page.