Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增Starlette表单字段大小限制与文件上传大小限制,解决接口表单参数超过1024kb出现的HTTP400错误 #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diantu188
Copy link

从Starlette 0.40.0开始,有一个新的属性MultiPartParser.max_part_size来解决一个安全漏洞,默认为 1024KB,设置这些参数可以在声明 fastapi 应用程序之前全局覆盖 class 值

…0.40.0开始,有一个新的属性MultiPartParser.max_part_size来解决一个安全漏洞,默认为 1024KB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant