branch: externals/plz
commit a1f8a10b0b6cc57915c025a57142772145f7dc1b
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>
Comment: Add FIXME
---
plz.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/plz.el b/plz.el
index c0a61db36c..91736d4cca 100644
--- a/plz.el
+++ b/plz.el
@@ -770,6 +770,11 @@ To be called from a timer run in `plz--sentinel'."
(ignore status) ; Byte-compiling in Emacs <28 complains
without this.
(funcall plz-then))
(_
+ ;; FIXME: If using ":as 'response", the HTTP
+ ;; response should be passed to the THEN function,
+ ;; regardless of the status code. Only for curl
+ ;; errors should the ELSE function be called.
+
;; Any other status code is considered unsuccessful
;; (for now, anyway).
(let ((err (make-plz-error :response (plz--response))))