Skip to content

Commit

Permalink
Revert "use deflate/gzip headers" cuz aparently it makes this gem hor…
Browse files Browse the repository at this point in the history
…k. :(

This reverts commit 746956c.
  • Loading branch information
maxjustus committed Feb 1, 2012
1 parent 2fd3e09 commit 6235293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter_oauth/client.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6235293

Please sign in to comment.