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

Persistent auth #594

Merged
merged 2 commits into from
Aug 22, 2016
Merged

Persistent auth #594

merged 2 commits into from
Aug 22, 2016

Conversation

geemus
Copy link
Contributor

@geemus geemus commented Aug 22, 2016

closes #588

builds on/supersedes #593

cyberdelia and others added 2 commits August 20, 2016 09:32
more consistent with other settings and allows overriding on per-request basis
@cyberdelia
Copy link
Contributor

Lovely 👍

@geemus geemus merged commit 82d7eac into master Aug 22, 2016
@geemus geemus deleted the persistent-auth branch August 22, 2016 21:45
@shalecraig
Copy link
Contributor

shalecraig commented Jul 15, 2017

Oh wow! I think this fixed a bug I ran into on Excon 0.49.0:

require 'excon'
headers = {'Accept' => 'application/json'}
Excon.new('https://username:password@website.com/', headers: headers)
broken = (headers == {"Accept"=>"application/json", "Authorization"=>"Basic dXNlcm5hbWU6cGFzc3dvcmQ="})
puts "Excon::#{Excon::VERSION}: Broken? #{broken}"

@geemus
Copy link
Contributor Author

geemus commented Jul 24, 2017

@shalecraig awesome, glad to hear it.

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.

Individual requests should allow new/distinct user/pass
3 participants