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

上传GIF图片是否可以实现. #2

Open
keimzhao opened this issue Jul 19, 2017 · 0 comments
Open

上传GIF图片是否可以实现. #2

keimzhao opened this issue Jul 19, 2017 · 0 comments

Comments

@keimzhao
Copy link

dataContent.Add(new ByteArrayContent(buffer), "filename", fileName + "\r\n Content-Type: " + mime_type);
这个可能有问题,目前测试返回结果一直为1.
无法满足以下格式:
"Content-Disposition: form-data; name="media";\r\nfilename=""+filename+""\r\nContent-Type: "+contentType
是否有办法解决.

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