Commit 5c3087e9 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka

lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because...

lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because that makes Bing refuse connection
parent c74cb344
2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* eww.el (eww-display-html): Default to using the entire window width.
(eww-browse-url): Don't add a User-Agent header (twice), because that
makes Bing refuse connection.
* shr.el (shr-make-table): Cache the table rendering at the table
level, and not the <td> level. This is a bit faster.
......
......@@ -222,12 +222,9 @@
(set (make-local-variable 'browse-url-browser-function) 'eww-browse-url))
(defun eww-browse-url (url &optional new-window)
(let ((url-request-extra-headers
(append '(("User-Agent" . "eww/1.0"))
url-request-extra-headers)))
(push (list eww-current-url (point))
eww-history)
(eww url)))
(push (list eww-current-url (point))
eww-history)
(eww url))
(defun eww-quit ()
"Exit the Emacs Web Wowser."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment