GNU bug report logs -
#22908
HTTP client rejects invalid 'Content-Type' headers
Previous Next
Full log
View this message in rfc822 format
retitle 22908 HTTP client rejects invalid 'Content-Type' headers
thanks
(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 <niasterisk <at> grrlz.net> 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
<https://lists.gnu.org/archive/html/guix-devel/2016-02/msg01359.html>,
the problem is that Guile’s HTTP client is (too) strict and rejects this
invalid ‘Content-Type’ header from kldp.net:
Content-Type: .gz
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?
2. Make Guile’s HTTP client more permissive.
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?
Thanks,
Ludo’.
This bug report was last modified 8 years and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.