Kludex / Kludex/python-multipart

How to set FormParser MAX_BODY_SIZE, MAX_MEMORY_FILE_SIZE?

Open
#201 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
532
Forks
93
PR merge metrics
No merged PRs in 30d

Description

I want to protect my system by setting MAX_BODY_SIZE, MAX_MEMORY_FILE_SIZE.

I don't know if there is a way to set it.
Is there a way to set it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating FormParser and the MAX_BODY_SIZE and MAX_MEMORY_FILE_SIZE definitions in the project, then trace whether these limits are configurable through the public parser interface. Done should be a clear documented answer explaining how to set them, or stating that the requested configuration is not currently exposed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.