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

Guess content type for binary params by filename extension #59

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

panki
Copy link
Contributor

@panki panki commented Mar 7, 2017

I use this library to send messages to Facebook messenger and it turned out that Facebook requires proper content type in multipart form field data for images. Otherwise it always returns error.

@huandu huandu merged commit eb717d2 into huandu:master Mar 8, 2017
@huandu
Copy link
Owner

huandu commented Mar 8, 2017

Thanks for your contribution. It looks great.

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