lib/github_api/connection.rb in github_api-0.6.3 vs lib/github_api/connection.rb in github_api-0.6.4

- old
+ new

@@ -24,12 +24,13 @@ ].freeze def default_options(options={}) { :headers => { - ACCEPT => "application/vnd.github.v3.raw+json," \ - "application/vnd.github.beta.raw+json;q=0.5," \ - "application/json;q=0.1", + ACCEPT => "application/json" \ + "application/vnd.github+json;q=0.7" \ + "application/vnd.github.v3.raw+json;q=0.5" \ + "application/vnd.github.beta.raw+json;q=0.1", ACCEPT_CHARSET => "utf-8", USER_AGENT => user_agent, CONTENT_TYPE => 'application/json' }, :ssl => { :verify => false },