Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert an IRI path to URI before setting as NGINX header
Filepath can contains non-ASCII characters, so we need to convert to a valid URI before setting it as X-Accel-Redirec NGINX header because only ASCII characters are supported. References, * https://docs.djangoproject.com/en/1.11/ref/unicode/#uri-and-iri-handling * benoitc/gunicorn#1448
- Loading branch information