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
POST works, but PUT gets Curl::Err::SendFailedRewind when used against a server (nginx) with HTTP negotiate (Kerberos) authentication.
My code looks like:
Curl::Easy.send(:http_put, url, '{}') do |curl| curl.http_auth_types = :gssnegotiate curl.username = ':' curl.headers['Content-Type'] = 'application/json' end
Change :http_put to :http_post and it works.
The text was updated successfully, but these errors were encountered:
what do you get when you try
Curl.put(url, '{}') do|curl| curl.http_auth_types = :gssnegaotiate curl.username = ':' curl.headers['Content-Type'] = 'application/json' end
Same thing?
Sorry, something went wrong.
Sorry for the slow reply, got hurricaned here in New York. :)
Anyway, I get the same error with your code.
I'm having the same problem. What's the status of this issue?
No branches or pull requests
POST works, but PUT gets Curl::Err::SendFailedRewind when used against a server (nginx) with HTTP negotiate (Kerberos) authentication.
My code looks like:
Change :http_put to :http_post and it works.
The text was updated successfully, but these errors were encountered: