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

上传文件,如果超过32MB(默认maxMB),接口返回结果不会携带文件size。这是刻意要这样设定的吗,或者是个bug? 我用的docker1.42版本。 #1193

Closed
wmore opened this issue Feb 3, 2020 · 0 comments

Comments

@wmore
Copy link

wmore commented Feb 3, 2020

您好:
我发现上传文件,如果文件超过32MB(默认maxMB),接口返回结果不会携带文件size。这是刻意要这样设定的吗,或者是个bug? 我用的docker1.42版本。
例如:
curl -F "file=@/home/records/bigfile" http://10.10.23.49/weed-api/bigfile2
{"name":"bigfile"}

由于go语言我不熟,还没读懂代码,暂时来讨教下。
谢谢~

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

No branches or pull requests

1 participant