{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/0d877f80c535471ede57c7a4c0f487de?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0d877f80c535471ede57c7a4c0f487de","url":"https://api.github.com/users/idangazit","login":"idangazit","id":22723},"assignee":null,"updated_at":"2011-11-16T15:49:49Z","labels":[],"closed_at":null,"comments":1,"url":"https://api.github.com/repos/maraujop/requests-oauth/issues/5","body":"It appears that 0.8 breaks something in requests-oauth.\r\n\r\nconsider the following code:\r\n\r\n```python\r\n# I'm assuming you have CONSUMER_KEY, CONSUMER_SECRET,\r\n# TWITTER_TOKEN, TWITTER_SECRET already.\r\n\r\nimport requests\r\nfrom oauth_hook.hook import OAuthHook\r\nOAuthHook.consumer_key = CONSUMER_KEY\r\nOAuthHook.consumer_secret = CONSUMER_SECRET\r\nhook = OAuthHook(TWITTER_TOKEN, TWITTER_SECRET)\r\n\r\nclient = requests.session(hooks={'pre_request': hook})\r\n\r\nr1 = client.get('http://api.twitter.com/1/account/rate_limit_status.json')\r\nprint(r1)\r\n\r\nr2 = client.get('http://api.twitter.com/1/account/verify_credentials.json')\r\nprint(r2)\r\n```\r\n\r\nWith requests 0.7.6, both requests return 200. With 0.8.x, the 2nd (and subsequent request) return HTTP/500.\r\n\r\nI checked with keep-alive disabled, but it doesn't solve the issue. :(","html_url":"https://github.com/maraujop/requests-oauth/issues/5","title":"Requests 0.8 breaks requests-oauth","number":5,"id":2256143,"created_at":"2011-11-16T13:21:07Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/1b6429aafe9e31ea3e3586e2edf80211?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1b6429aafe9e31ea3e3586e2edf80211","url":"https://api.github.com/users/maraujop","login":"maraujop","id":252257},"updated_at":"2011-11-16T15:49:49Z","url":"https://api.github.com/repos/maraujop/requests-oauth/issues/comments/2761326","body":"I've found why this happens and reported it in requests:\r\nhttps://github.com/kennethreitz/requests/issues/272\r\n\r\nI will wait for @kennethreitz answer.","id":2761326,"created_at":"2011-11-16T15:49:49Z"}}