node-oauth
node-oauth copied to clipboard
Remove content-type from GET requests
The content type is unsettable from oauth.get requests so it ends up being "application/x-www-form-urlencoded". I'm trying to access a rest endpoint and this content-type is causing a 415 error "Unsupported Media Type".
when this will be merged? +1
For anyone else finding this, I ended up just using _performSecureRequest directly.
consumer._performSecureRequest( token, secret, "GET", url, "", null, contentType, callback)
relates to #281, #182, #183, #331, #333, #136, #284