Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encode filenames as ascii instead of latin-1 #2804

Merged
merged 1 commit into from
May 28, 2018
Merged

Conversation

davidism
Copy link
Member

closes #2766

This produces the filename* header more often (since only ASCII characters are allowed now), but is compatible with Gunicorn and any other WSGI servers that are more strict about header encoding.

latin-1 is allowed by pep3333, but that breaks gunicorn
@davidism davidism added this to the 1.0.3 milestone May 28, 2018
@davidism davidism self-assigned this May 28, 2018
@davidism davidism merged commit 99c56ea into 1.0-maintenance May 28, 2018
@davidism davidism deleted the ascii-header branch May 28, 2018 13:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant