Skip to content

gzip issues #82

Description

@marknadig

Anyone else running into issues w/ gzipped responses? Testing this out locally with Ruby 2.0.0p247 and is abending on refresh_token call (via oauth2 gem). c/f ruby-oauth/oauth2#159

However, seems this should be handled further up (Net::HTTP, Faraday).

> 2.0.0-p247 :016 > client.root_folder
OAuth2::Error: <??
?@E?e?.D?ҝV*??c`????_??3Z??M-Z?????"yY??po?#6qՠ?b?L???}?H-\?r?hz%
??!????9S?L?r?Jz?}?|Q-i??zH???1?5h?ЊE?DF?3?yP??as?,? 51ѕq???pB#)??BD???b6L
                                                                          ??r??????aa??
    from /Users/marknadig/.rvm/gems/ruby-2.0.0-p247@kona/gems/oauth2-0.9.3/lib/oauth2/client.rb:137:in `get_token'
    from /Users/marknadig/.rvm/gems/ruby-2.0.0-p247@kona/gems/oauth2-0.9.3/lib/oauth2/access_token.rb:86:in `refresh!'
    from /Users/marknadig/.rvm/gems/ruby-2.0.0-p247@kona/gems/ruby-box-1.13.0/lib/ruby-box/session.rb:38:in `refresh_token'
    from /Users/marknadig/.rvm/gems/ruby-2.0.0-p247@kona/gems/ruby-box-1.13.0/lib/ruby-box/session.rb:81:in `request'

Similar issue here w/ oauth gem after updating to Ruby 2
http://www.extendi.it/blog/2013/12/02/6-oauth-gem-and-ruby-2-0-0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions