We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
You can specify content-type for Curl::Postfield.content, but not for Curl::Postfield.file.
http://curb.rubyforge.org/classes/Curl/PostField.html
The text was updated successfully, but these errors were encountered:
You can specify it in a separate step:
field = Curl::PostField.file(...) field.content_type = "image/jpeg"
Sorry, something went wrong.
I'm not sure I'll have time to work on that in the near future, if you or someone wants to submit a pull request, I'll definitely merge it in for you.
No branches or pull requests
You can specify content-type for Curl::Postfield.content, but not for Curl::Postfield.file.
http://curb.rubyforge.org/classes/Curl/PostField.html
The text was updated successfully, but these errors were encountered: