Browse Source

web: Add workaround for <http://bugs.gnu.org/13095>.

* guix/web.scm: Add workaround for <http://bugs.gnu.org/13095>.
gn-latest-20200428
Ludovic Courtès 9 years ago
parent
commit
89be37a5a3
  1. 4
      guix/web.scm

4
guix/web.scm

@ -136,6 +136,10 @@ closed it will also close PORT, unless the KEEP-ALIVE? is true."
(module-set! (resolve-module '(web response))
'read-response-body read-response-body*)))
;; XXX: Work around <http://bugs.gnu.org/13095>, present in Guile
;; up to 2.0.7.
(module-define! (resolve-module '(web client))
'shutdown (const #f))
(define* (http-fetch uri #:key (text? #f))
"Return an input port containing the data at URI, and the expected number of

Loading…
Cancel
Save