Oauth 1.0 - Authorization Headers #105

merged 1 commit into from Jul 28, 2012


None yet
3 participants

problame commented Jul 6, 2012

I just checked the (http://oauth.net/core/1.0/) documentation, section 5.4.1 Authorization Header.

There, it says:

Parameters are separated by a comma character (ASCII code 44) and OPTIONAL linear whitespace per [RFC2617].

Since the service I had to work with only accepted requests with whitespaces (", ") after the comma, I implemented a variable that allows you to define the seperator between the OAuth parameters:


var oaclient = new OAuth(...);
oaclient._oauthParameterSeperator = ", ";


The default behavior has not changed:

_oauthParameterSeperator = ",";

ciaranj added a commit that referenced this pull request Jul 28, 2012

@ciaranj ciaranj merged commit 5fab3c5 into ciaranj:master Jul 28, 2012


ciaranj commented Jul 28, 2012

Thank you.

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