summaryrefslogtreecommitdiff
path: root/guix/web.scm
AgeCommit message (Collapse)Author
2013-04-27web: Add workaround for <http://bugs.gnu.org/13095>.Ludovic Courtès
* guix/web.scm: Add workaround for <http://bugs.gnu.org/13095>.
2013-04-27web: Add 2.0.5 workaround for responses without content-length.Ludovic Courtès
* guix/web.scm (read-response-body*)[when-guile<=2.0.5]: Support responses without content-length. Reported by Andreas Enge <andreas@enge.fr>.
2013-04-27web: Backport chunked encoding support for Guile <= 2.0.5.Ludovic Courtès
* guix/web.scm (when-guile<=2.0.5): New macro. (read-chunk-header, read-chunk, read-chunk-body, make-chunked-input-port, read-response-body*)[when-guile<=2.0.5]: New procedures. (http-fetch): Clarify message when (not data).
2013-04-25web: Factorize `http-get' hackery.Ludovic Courtès
This should fix `substitute-binary --query' on Guile 2.0.5. * guix/web.scm: New file. * Makefile.am (MODULES): Add it. * po/POTFILES.in: Add it. * guix/gnu-maintenance.scm (http-fetch): Remove. (%package-list-url): Turn into a URI. (official-gnu-packages): Add #:text? #t to `http-fetch' call. * guix/scripts/substitute-binary.scm (fetch): Remove `http' case, and use `http-fetch' instead.