branch: elpa/request
commit f4b2084343a20dec0934625ded2cfcfddb9c88a3
Author: dickmao <none>
Commit: dickmao <none>
overzealous
---
request.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/request.el b/request.el
index 54e0e60dc2..c36b3fcbd2 100644
--- a/request.el
+++ b/request.el
@@ -693,7 +693,7 @@ associated process is exited."
(when files
(error "`url-retrieve' backend does not support FILES"))
(when (and (equal type "POST")
- (consp data)
+ data
(not (assoc-string "Content-Type" headers t)))
(push '("Content-Type" . "application/x-www-form-urlencoded") headers)
(setq settings (plist-put settings :headers headers)))