-
Notifications
You must be signed in to change notification settings - Fork 18
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
HTTPS support #13
Comments
What are you sending as the |
puts res['www-authenticate']
auth = digest_auth.auth_header uri, res['www-authenticate'], 'GET' puts returns :
|
Does this raise an exception? |
I'm sorry, but I'm still new with Ruby. I tried this : begin
auth = digest_auth.auth_header uri, res['www-authenticate'], 'GET'
rescue Exception => msg
puts msg
end and result is:
|
Ok. The problem is with the "negotiate" option in the header. Until I fix your bug you can strip it before calling |
This is fixed by #16. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this error when I'm trying to get response from HTTPS url (ie uri = URI.parse 'https://localhost:8000/')
The text was updated successfully, but these errors were encountered: