Open canh-tran-20230331 opened 3 months ago
Seems apple are setting application/vnd.api+json
in Content-Type which this lib didn't handle yet.
Fix:
def __parse_response(self, response: requests.Response) -> Any:
content_type = response.headers['Content-Type']
if content_type == 'application/json' or content_type == 'application/vnd.api+json':
json = response.json()
First of all, thank you for this great library. This has been working for over a year for my application. But after August 1st, it stopped working.
After debugging, I believe the connection.builds() response structure has changed, and the current code is no longer valid.
BuildsResponse expected dict not Response (type=type_error)
This is our code:
Could you please help us identify if there has been any change in the response format for connection.builds() and suggest how we can update our code accordingly? Any help would be greatly appreciated!