Situation:
Task takes url, like this
https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-Linux-amd64.tar.gz
When task running recived 302, and task failed (not following).
Recieved page:
<html><body>You are being <a href="https://github-production-release-asset-2e65be.s3.amazonaws.com/95363214/51df9980-7e3b-11ea-9e2b-a9458724af77?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200508%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200508T153120Z&X-Amz-Expires=300&X-Amz-Signature=3c725ae3900b3b046286b31abc991637415c13cef6bc240cc54427e9bafaa89c&X-Amz-SignedHeaders=host&actor_id=0&repo_id=95363214&response-content-disposition=attachment;%20filename%3Dkubeval-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream">redirected</a>.</body></html>
Expected result:
Follow to redirect and download archive
Hello
Situation: Task takes url, like this
https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-Linux-amd64.tar.gz
When task running recived 302, and task failed (not following).Recieved page:
<html><body>You are being <a href="https://github-production-release-asset-2e65be.s3.amazonaws.com/95363214/51df9980-7e3b-11ea-9e2b-a9458724af77?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200508%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200508T153120Z&X-Amz-Expires=300&X-Amz-Signature=3c725ae3900b3b046286b31abc991637415c13cef6bc240cc54427e9bafaa89c&X-Amz-SignedHeaders=host&actor_id=0&repo_id=95363214&response-content-disposition=attachment;%20filename%3Dkubeval-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream">redirected</a>.</body></html>
Expected result: Follow to redirect and download archive