You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The bug stems from line 59 of jigsawstack.request.Request class, where the method perform verifies the response headers.
2. The response headers are useful for us to determine type of content received from the api as response.
3. Previously, Request.perform()::line 59 would accept a response of application/json type, or raise an "parsing" error otherwise.
4. Fix applied: Updated the boolean check to accept audio/wav.
5. Clarification: In JavaScript, a Blob represents raw binary data as a file-like object. In Python, binary responses (like audio data) are typically handled as a bytes object.
6. The response has to be written to a file :)
0 commit comments