Closed qwesda closed 4 years ago
Hi, thank you for opening this issue.
Unfortunately, this project is no longer actively maintained, and today, we're archiving the repository and publishing the final version to PyPI.
We sincerely appreciate your contribution and regret that we weren't able to give it the attention it deserved.
Here is a minimal example to reproduce the error:
The response is 400:
'Expected mimetype of "application/json".'
This happens because you set
headers['Content-Type'] = 'application/x-www-form-urlencoded'
in the post request https://github.com/discogs/discogs_client/blob/dc6551e5844d20a9da69e97c19afa8234f292d41/discogs_client/client.py#L102-L108.