Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to change Request-Header for OAuth Request?!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jochen  
View profile  
 More options Dec 1 2011, 9:54 am
From: Jochen <discome...@googlemail.com>
Date: Thu, 1 Dec 2011 06:54:10 -0800 (PST)
Local: Thurs, Dec 1 2011 9:54 am
Subject: How to change Request-Header for OAuth Request?!
Hey there,

I'm kinda new to this whole OAuth-Thing and am trying to Access the
discogs-api via an OAuth-Authentification. But this is only possible,
when I enable "Accept-Encoding: gzip" in the Header.

At the moment I'm usig

consumer = OAuth::Consumer.new "********", "********", {:site=>"http://
api.discogs.com"}

and as result of the wron Header Information I always get
"OAuth::Unauthorized: 406 Not Acceptable" when i call

h.get_request_token

Can anyone tell how I can change the Header of Oauth-Requests?!

Thanks in advance!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »