discogs / discogs_client

DEPRECATED - Official Python Client for the Discogs API
http://www.discogs.com/developers
Other
480 stars 132 forks source link

Accept header #95

Closed JOJ0 closed 5 years ago

JOJ0 commented 5 years ago

Hi, is setting the Accept header as described here:

https://www.discogs.com/developers/#page:home,header:home-versioning-and-media-types

also possible when using the python discogs_client? I can't find it in the clients's documentation at the moment.

Please point me in the right direction!

Thanks and all the best Jojo

JOJ0 commented 5 years ago

Hi, I asked in the API forum as suggested in other posts: https://www.discogs.com/forum/thread/778695 Not much response there either, I will leave this issue open for now and certainly close it down if I find my answer elsewhere. Thanks in advance for any advice. Jojo

JOJ0 commented 5 years ago

Alright, found it, the described behaviour is defined here:

https://github.com/discogs/discogs_client/blob/master/discogs_client/models.py#L691

Sorry for crossposting this in the forum and also in this issue, I just would like to find out why it is like it is :-)

My question in detail is here: https://www.discogs.com/forum/thread/778695?page=1#7727691

thanks a lot! Jojo