inveniosoftware / datacite

Python API wrapper for the DataCite API.
https://datacite.readthedocs.io
Other
27 stars 33 forks source link

request: Change password encoding to utf8 #58

Closed tmorrell closed 3 years ago

tmorrell commented 3 years ago

DataCite supports any utf8 character in their password. However, the requests library encodes passwords as latin1 (https://2.python-requests.org/en/latest/_modules/requests/auth/). This change will encode the password as utf8, which matches how DataCite currently expects the encoding.