ciaranj/node-oauth — pull request #105 by chrischw (2012-07-06 23:11:43+00:00)
Title: Oauth 1.0 - Authorization Headers

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:

### Usage

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

### Default

The default behavior **has not changed**:

_oauthParameterSeperator = ",";