branch: elpa/request commit f26ea54c44f6d801d5f03c478668dbd22874b0c0 Author: dickmao <none> Commit: dickmao <none>
rectify example --- request.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.el b/request.el index dc2802faf9..f803299547 100644 --- a/request.el +++ b/request.el @@ -950,7 +950,7 @@ posting fields, FILES containing one or more lists of the form (NAME . BUFFER) (NAME . (FILENAME :buffer BUFFER)) (NAME . (FILENAME :data DATA)) - (NAME . (FILENAME :data DATA :use-contents t)) + (NAME . (FILENAME :file FILE :use-contents t)) with NAME and FILENAME defined by curl(1)'s overwrought `--form` switch format, TIMEOUT in seconds, RESPONSE a mandatory struct, ENCODING, and SEMAPHORE, an internal semaphore. Adding `:use-contents t` sends a text field