Permalink
Browse files

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

…k. :(

This reverts commit 746956c.
  • Loading branch information...
1 parent 2fd3e09 commit 62352930c8d89993b4ef4126a6f65b81e4265c86 @maxjustus committed Feb 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 6235293

Please sign in to comment.