I was experimenting with downloading zip files from GitLab based on repo tags, and it turns out GitLab won't return a zip file unless an "Accept" header is sent with the request. Adding "Accept: */*" seems to be sufficient to actually get the file, and obviously doesn't limit the mime type.
Great catch, do you want to send a pull for this? Should we make it configurable or just set anything for the accept header?
I am happy to send a pull for this. I would be inclined to set the header to accept anything.