Skip to content

Conversation

@brianbckim
Copy link

Context
Some download responses returned Content-Type without charset while tests expect ; charset=utf-8.

Changes

  • Ensure Content-Type includes ; charset=utf-8 for text/* and image/svg+xml
  • LOCAL path: Response(..., content_type=...) + explicit header
  • Redirect (raw): add response-content-type with charset

Verification
python -m pytest -k "test_web_download or test_api_download" -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant