Skip to content

fix(api): Don't try to parse raw downloads - #687

Merged
max-wittig merged 1 commit into
masterfrom
fix/683/raw_download
Jan 19, 2019
Merged

max-wittig merged 1 commit into
masterfrom
fix/683/raw_download

Conversation

@gpocentek

Copy link
Copy Markdown
Contributor

http_get always tries to interpret the retrieved data if the
content-type is json. In some cases (artifact download for instance)
this is not the expected behavior.

This patch changes http_get and download methods to always get the raw
data without parsing.

Closes #683

http_get always tries to interpret the retrieved data if the
content-type is json. In some cases (artifact download for instance)
this is not the expected behavior.

This patch changes http_get and download methods to always get the raw
data without parsing.

Closes #683
@max-wittig max-wittig self-assigned this Jan 19, 2019
@max-wittig
max-wittig merged commit 52d7631 into master Jan 19, 2019
@gpocentek
gpocentek deleted the fix/683/raw_download branch June 20, 2019 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants