Closed criverc closed 5 years ago
Could you try pull request #83 and see if that resolves the issue for you?
I fetched #83 and merged into develop branch. I run the code snippet that I put in the description of this issue and now it works as expected. I get a binary json array in the body property of the response which I am able to parse using json.loads. Thanks!
No problems at all. :-)
If I do this:
Inspecting the request using a network sniffer I see:
The Accept header is wrong it should be: Accept: application/json It follows that the server returns zinc and not json.
Without the raw_response argument the Accept header is correct. So it seems that the combination of raw_response=True and expect_format='json' does not work as expected.