branch: externals/plz
commit baf93bb80ad9e22be5c0273602c2d94cbb02a2fd
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>
Fix: (plz--curl) Header args
---
plz.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plz.el b/plz.el
index fb9a4c742a..3844b2c3ef 100644
--- a/plz.el
+++ b/plz.el
@@ -293,7 +293,7 @@ request. CONNECT-TIMEOUT may be a number of seconds to
timeout
the initial connection attempt."
;; Inspired by and copied from `elfeed-curl-retrieve'.
(let* ((header-args (cl-loop for (key . value) in headers
- collect (format "--header %s: %s" key value)))
+ append (list "--header" (format "%s: %s" key
value))))
(curl-args (append plz-curl-default-args header-args
(when connect-timeout
(list "--connect-timeout" (number-to-string
connect-timeout)))