diff options
author | Ludovic Courtès <[email protected]> | 2022-03-03 21:37:27 +0100 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2022-03-06 22:49:47 +0100 |
commit | 8786c2e8d7585d4a55b1392093b9839f58bd4c3d (patch) | |
tree | 27058d266d781205dfb07bb1f912e2c2f35b579e /gnu/packages/gnome-xyz.scm | |
parent | 55e8e283ae398cc476e50e822383797c5f43db4c (diff) |
http-client: Correctly handle redirects when #:keep-alive? #t.
Previously PORT would be closed unconditionally, which broke redirects
when #:keep-alive? #t is given.
* guix/http-client.scm (http-fetch): Make 'port' a parameter of 'loop'.
Upon 3xx responses, do not close PORT is KEEP-ALIVE? is true, but consume
RESP's body. Add second argument to 'loop'.
Diffstat (limited to 'gnu/packages/gnome-xyz.scm')
0 files changed, 0 insertions, 0 deletions