Skip to content

Commit

Permalink
fix: fall back to 'charset' of 'content_type' in 'download_as_text' (g…
Browse files Browse the repository at this point in the history
…oogleapis#326)

Explicit 'encoding' overrides the fallback.

Use the 'charset' param of 'content_type', rather than 'content_encoding',
which isn't going to be a Unicode -> bytes encoding.

Closes googleapis#319.

Also, rewrap long param descriptions for in-source readability.
  • Loading branch information
tseaver authored and cojenco committed Oct 13, 2021
1 parent b734569 commit 4279109
Show file tree
Hide file tree
Showing 2 changed files with 687 additions and 568 deletions.
Loading

0 comments on commit 4279109

Please sign in to comment.