voloko / twitter-stream

Twitter realtime API client
MIT License
233 stars 81 forks source link

Incorrect OAuth signature for GET's with params #18

Closed mgreen closed 12 years ago

mgreen commented 12 years ago

HTTP GET's weren't working for me using OAuth when I had params. This is because the OAuth signature was based on a request with a message body even though that body was never actually sent. This resulted in 401's from Twitter.

Also, I treat PUTs the same as POSTs similar to how OAuth::Consumer does.