-
Notifications
You must be signed in to change notification settings - Fork 75
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
http模式 上传base64文件大小问题 #49
Comments
|
确实,我没考虑到请求大小的问题。 你可以通过下述操作调整请求大小:
#: Maximum size of memory buffer for :attr:`body` in bytes.
MEMFILE_MAX = 102400 将它改为: #: Maximum size of memory buffer for :attr:`body` in bytes.
MEMFILE_MAX = 10485760 这将设置单次请求上限为10MB。你可以改为别的值。 请测试该方法是否有效。我将在下次更新修复此问题。 参考: |
设置后, 方法可行。 感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http服务 上传文件的时候,如果转过来的图片base64信息比较大。
web服务器会返回 413 Request Entity Too Large 问题。
The text was updated successfully, but these errors were encountered: