Thompson, David <dthomps...@worcester.edu> writes:

>> “Content-Type: .gz” is what trips up “guix download”.  What follows
>> “Content-Type:” should be a mime type and I suppose “.gz” is not a valid
>> mime type.  Would it make sense for the HTTP client to be a little more
>> tolerant about this?
>
> No, upstream needs to fix their invalid Content-Type header.  We've
> had this problem a few times, most recently with rubygems.org, and in
> all cases we've gotten upstream to fix it.  Strict header parsing can
> seem like an issue at times, but it's really a very good feature that
> the rest of the world seems to ignore. [0]

I wonder what a correct Content-Type header would look like in this
case.  I would like to submit a helpful report containing what I got and
what it should have been.

However, this is independent from the patch itself where I’m using a git
reference.

~~ Ricardo


Reply via email to