Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "use deflate/gzip headers" cuz aparently it makes this gem hor…

…k. :(

This reverts commit 746956c.
  • Loading branch information...
commit 62352930c8d89993b4ef4126a6f65b81e4265c86 1 parent 2fd3e09
@maxjustus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/twitter_oauth/client.rb
View
2  lib/twitter_oauth/client.rb
@@ -69,7 +69,7 @@ def access_token
end
def get(path, headers={})
- headers.merge!("User-Agent" => "twitter_oauth gem v#{TwitterOAuth::VERSION}", "Accept-Encoding" => "deflate, gzip")
+ headers.merge!("User-Agent" => "twitter_oauth gem v#{TwitterOAuth::VERSION}")
oauth_response = access_token.get("/1#{path}", headers)
JSON.parse(oauth_response.body)
end
Please sign in to comment.
Something went wrong with that request. Please try again.