Skip to content

Commit

Permalink
Fix Authorization headers info in README.
Browse files Browse the repository at this point in the history
Related to #162
Thanks to @epitron
  • Loading branch information
ixti committed Oct 27, 2014
1 parent 0148f73 commit 1e5b415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ HTTP.auth("Bearer VGhlIEhUVFAgR2VtLCBST0NLUw")
And Chain all together!

```ruby
HTTP.auth(:basic, :user => 'user', :pass => 'pass')
HTTP.basic_auth(:user => 'user', :pass => 'pass')
.with('Cookie' => '9wq3w')
.get('https://example.com')
```
Expand Down

0 comments on commit 1e5b415

Please sign in to comment.