google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
735 stars 161 forks source link

Update API calls in turbinia-client commands #1398

Closed jleaniz closed 9 months ago

jleaniz commented 10 months ago

Description of the change

This PR update the methods used in API requests to use the ones that support the preload_content argument. It also adds a new response decoding method to handle cases where the API client does not deserialize the responses automatically, as is the case when preload_content in the requests is set to False.

Applicable issues

Additional information

Checklist

aarontp commented 9 months ago

LGTM