org-id / register

A register of organisation identifier lists
Other
25 stars 28 forks source link

Set charset=utf-8 in Content-type header for CSV download #534

Open duncandewhurst opened 1 year ago

duncandewhurst commented 1 year ago

Currently, the Content-type header for http://org-id.guide/download.csv is set to text/csv.

The Python requests library does not apply UTF-8-decoding by default so it would be helpful to explicitly specify the encoding by setting the header to text/csv; charset=utf-8.