Skip to content

Commit

Permalink
Remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascaton committed Nov 9, 2022
1 parent b49ec66 commit c9aa273
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/octokit/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c9aa273

Please sign in to comment.