Skip to content

Develop #89

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

Merged
merged 2 commits into from
Dec 5, 2013
Merged

Develop #89

merged 2 commits into from
Dec 5, 2013

Conversation

killme2008
Copy link
Contributor

判断body是不是Buffer,如果不是才需要new Buffer(body)。

@killme2008
Copy link
Contributor Author

官方Buffer文档并没有 new Buffer(Buffer)的构造函数,在某些node.js版本上可能上传文件虽然成功,但是内容是错误的。 http://nodejs.org/api/buffer.html

longshanksmo added a commit that referenced this pull request Dec 5, 2013
@longshanksmo longshanksmo merged commit b625bf5 into qiniu:develop Dec 5, 2013
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.

2 participants