[gnus git] branch master updated: m0-7-52-g7cc26a4 =1= Support POST.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 7cc26a4cea66f5cb484eaa74f76428a5134a535e (commit)
from 3ceaa1815d15554f4dbcf4ded36686d1cda30c6d (commit)
- Log -----------------------------------------------------------------
commit 7cc26a4cea66f5cb484eaa74f76428a5134a535e
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Mon Jun 10 15:49:06 2013 +0200
Support POST.
diff --git a/lisp/eww.el b/lisp/eww.el
index f1758a3..63ad6fd 100644
--- a/lisp/eww.el
+++ b/lisp/eww.el
@@ -199,12 +199,17 @@
(push (cons name (widget-value field))
values))))))
(let ((shr-base eww-current-url))
+ (if (and (stringp (getf form :method))
+ (equal (downcase (getf form :method)) "post"))
+ (let ((url-request-method "POST")
+ (url-request-data (mm-url-encode-www-form-urlencoded values)))
+ (eww-browse-url (shr-expand-url (getf form :action))))
(eww-browse-url
(shr-expand-url
(concat
(getf form :action)
"?"
- (mm-url-encode-www-form-urlencoded values)))))))
+ (mm-url-encode-www-form-urlencoded values))))))))
(defun eww-convert-widgets ()
(let ((start (point-min))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/eww.el | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project