From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: bug#22908: guix download choices (unfonts -> upstream, archive.org bugged) and my alternatives. Date: Sun, 06 Mar 2016 16:12:08 +0100 Message-ID: <87fuw38wtz.fsf@grrlz.net> References: <87mvqegrsz.fsf@grrlz.net> <87si03sp7a.fsf@gnu.org> 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]:41699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acaNi-00067Y-EO for bug-guix@gnu.org; Sun, 06 Mar 2016 10:14:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acaNe-0003RQ-AQ for bug-guix@gnu.org; Sun, 06 Mar 2016 10:14:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acaNe-0003RG-7A for bug-guix@gnu.org; Sun, 06 Mar 2016 10:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1acaNe-0001YJ-21 for bug-guix@gnu.org; Sun, 06 Mar 2016 10:14:02 -0500 In-Reply-To: <87mvqegrsz.fsf@grrlz.net> Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acaMM-0005bH-MW for bug-guix@gnu.org; Sun, 06 Mar 2016 10:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acaMI-0003KX-M1 for bug-guix@gnu.org; Sun, 06 Mar 2016 10:12:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:41155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acaMI-0003KL-FL for bug-guix@gnu.org; Sun, 06 Mar 2016 10:12:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1acaMB-0007vF-FG for bug-guix@gnu.org; Sun, 06 Mar 2016 16:12:31 +0100 Received: from xd9bb8d49.dyn.telefonica.de ([217.187.141.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Mar 2016 16:12:31 +0100 Received: from niasterisk by xd9bb8d49.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Mar 2016 16:12:31 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22908@debbugs.gnu.org ludo@gnu.org (Ludovic Courtès) writes: > retitle 22908 HTTP client rejects invalid 'Content-Type' headers > thanks I can retitle open bugs? If so, how? Or is there a "help" function of the debuggs? > (Please make sure the title of your messages to bug-guix clearly > describes the problem with phrases like “Guix fails to …”, “Failure to > download from …”, etc.) > > Nils Gillmann skribis: > >> Long story short, I try to package un-fonts, which sits on a >> server which is configured in a way that it gives us a mime type >> for the package which is invalid (.gz). > > As Ricardo noted in > , > the problem is that Guile’s HTTP client is (too) strict and rejects this > invalid ‘Content-Type’ header from kldp.net: > > Content-Type: .gz I noticed, that's why I packaged and submitted (see more recent version of the patch, new thread) the font with a location on sdf.org. I commented inside why and what I intend to do. > There are two courses of actions that can be taken in parallel: > > 1. Get the kldp.net admins to adjust the Web server. Did you get > feedback from them? Not yet. They are behind a privacywhois, I am not sure how long reaction will get delayed due to that factor. The bug has been reported to them, now it's just waiting and maybe getting a response later this year. > 2. Make Guile’s HTTP client more permissive. I vote against that, because it is just one package so far. Let's say we package KDE Plasma and there are more than 1 package which is not a font, that is a reason to make changes to the http client. > In the meantime, we could work around the issue by using a copy hosted > on another server, if possible, such as archive.org or sdf.org as you > note, or fossies.org (it mirrors a number of things.) > > Thoughts? Archive.org replicates every wrong and right including mime types. -> same issue, different domain. I did not upload the font itself to archive.org but to sdf.org , I should also get a reply from in-berlin.org (an ISP, fast datacenters) if they have a public download host and would like to host this font outside of the kldp.net domain, explaining the reasons etc. > Thanks, > Ludo’. thanks, -- ng irc://loupsycedyglgamf.onion:67/~NiAsterisk https://psyced.org:34443/NiAsterisk/ EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en