Allow the post_body argument to a PUT or POST to be a Buffer. This will pass the data directly to the request in binary form. Closes #144.
Not ideal, but effectively reverts the default behaviour of the library to how 0.9.8 worked, that is it passes the access_token as a query parameter to the server. To allow the utility 'get' method to use an Authorization header *instead* then you need to explicitly enable this behaviour by using the method : var oa= new Oauth(...); oa.useAuthorizationHeaderforGET(true) Note this can/should be used in conjunction with the other utility method: oa.setAuthMethod(...) The default value for the Authorization header is 'Bearer' If you're building your own requests using oa._request then there is a new exported method: oa.buildAuthHeader(token)
….com/wraithgar/node-oauth. Added test that uses the RSA-SHA1 method and verifies the signature using a public key.