Mendeley / mendeley-python-sdk

Python SDK for the Mendeley API.
Apache License 2.0
119 stars 59 forks source link

lookup method in resources/catalog.py is using an incorrect Accept header #8

Closed philgooch closed 9 years ago

philgooch commented 9 years ago

The /metadata call requires an Accept header of 'application/vnd.mendeley-document-lookup.1+json' but the resources/catalog.py#lookup() is creating an Accept header set to obj_type.content_type, which is always 'application/vnd.mendeley-document.1+json'