UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 182: ordinal not in range(128)
https://sentry.softwareheritage.org/organizations/swh/issues/10415/?referrer=phabricator_plugin
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 182: ordinal not in range(128)
File "gunicorn/workers/sync.py", line 135, in handle
self.handle_request(listener, req, client, addr)
File "gunicorn/workers/sync.py", line 182, in handle_request
resp.write(item)
File "gunicorn/http/wsgi.py", line 333, in write
self.send_headers()
File "gunicorn/http/wsgi.py", line 329, in send_headers
util.write(self.sock, util.to_bytestring(header_str, "ascii"))
File "gunicorn/util.py", line 532, in to_bytestring
return value.encode(encoding)
Error handling request /browse/content/sha1_git:eca6266b3f87766b348ba82dbe0fedc27da79d50/raw/?filename=Th%C3%A9orie%20de%20sant%C3%A9-aide-justice.pdf
Migrated from T4388 (view on Phabricator)