Skip to content

Commit

Permalink
fix: fall back to 'charset' of 'content_type' in 'download_as_text' (#…
Browse files Browse the repository at this point in the history
…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 #319.

Also, rewrap long param descriptions for in-source readability.
  • Loading branch information
tseaver authored Nov 30, 2020
1 parent 6a0b8a7 commit 63ff233
Show file tree
Hide file tree
Showing 2 changed files with 687 additions and 568 deletions.
Loading

0 comments on commit 63ff233

Please sign in to comment.