Empty redirect when requesting archive through API
A request like this
https://gitlab.com/api/v3/projects/72724/repository/archive?private_token=yourprivatetoken
used to result in the download of a tarball of the files at the HEAD
of the default branch (or another specified commit by sha) as specified here. However, since today, making this request results in an empty redirect, with a 302
response code, but no content (and therefore nowhere to redirect to).
As returned by Perl:
HTTP::Response {
Parents HTTP::Message
...
internals: {
_content """",
_headers HTTP::Headers,
_msg "Found",
_previous HTTP::Response,
_protocol "HTTP/1.1",
_rc 302,
_request HTTP::Request
}
}
Performing the same query with Firefox results in a The page isn't redirecting properly
error being displayed.