Correct the headers hash key for OAuth2 #16

Merged
merged 1 commit into from Jul 1, 2012

Projects

None yet

3 participants

@wesgibbs

The OAuth2::Client#request method in the OAuth2 library looks for header
values using the hash key :headers, not :header.

In version 0.7.1 of the OAuth2 library, this can be seen in OAuth2::Client#request:88.

Thanks!

@wesgibbs wesgibbs Correct the headers hash key for OAuth2
The OAuth2::Client#request method in the OAuth2 library looks for header
values using the hash key :headers, not :header.
42b474e
@prashanthsnayak

Yes, wgibbs is right. My issue with upload title got solved when i change that :header to :headers

@prashanthsnayak

Nice work @wgibbs .My Issue with title upload got solved as i applied your changes. Thankyou

@gimite gimite merged commit 42b474e into gimite:master Jul 1, 2012
@gimite
Owner
gimite commented Jul 1, 2012

Thanks for the fix. Pulled.

@gimite gimite referenced this pull request Jul 1, 2012
Closed

title not working #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment