diff --git a/lib/octokit/connection.rb b/lib/octokit/connection.rb index b18998ae8..1ee5c2019 100644 --- a/lib/octokit/connection.rb +++ b/lib/octokit/connection.rb @@ -208,7 +208,6 @@ def parse_query_and_convenience_headers(options) end def response_data_correctly_encoded(response) - # TODO: I'm guessing base64 content responses are still broken, but this fixes the bug we're running into content_type = response.headers.fetch('content-type', '') return response.data unless content_type.include?('charset') && response.data.is_a?(String)