Open jwrightecs opened 3 years ago
I tried adding $options->{decode}=0
after https://github.com/bluefeet/GitLab-API-v4/blob/4f31181771706c5c680f2b91aa66992898899c85/lib/GitLab/API/v4.pm#L4107 which prevents the error.
However, the artifact (a ZIP archive in my case) is printed to stdout (good) but with non-printable characters escaped as \uXXXX
and double quotes around it (not so good).
It seems the handling of non-JSON replies needs to be rethought.
In the gitlab v4 api there are functions that download files, for example the artifact functions under jobs, this causes an error in GitLab::API::v4::RESTClient, and in gitlabl-api-v4
Actual error depends on perl version
(Older versions without the 'redundant' warning class)
Similarly, using the module directly: