From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Add MARS shooter. Date: Sat, 19 Sep 2015 22:06:19 +0200 Message-ID: <87twqq5g3o.fsf@elephly.net> References: <8761377ct3.fsf@elephly.net> <871tdu7r3f.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdOP0-00037Q-Qd for guix-devel@gnu.org; Sat, 19 Sep 2015 16:06:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdOOx-0004A2-KX for guix-devel@gnu.org; Sat, 19 Sep 2015 16:06:30 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdOOx-00048v-CY for guix-devel@gnu.org; Sat, 19 Sep 2015 16:06:27 -0400 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel Thompson, David 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