* net/eww.el (eww-download-callback): Save only the file contents,
not the headers.
+2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
+
+ * net/eww.el (eww-download-callback): Save only the file contents,
+ not the headers.
+
2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-data): New plist to store all the data relevant
(path (car (url-path-and-query obj)))
(file (eww-make-unique-file-name (file-name-nondirectory path)
eww-download-directory)))
- (write-file file)
+ (goto-char (point-min))
+ (re-search-forward "\r?\n\r?\n")
+ (write-region (point) (point-max) file)
(message "Saved %s" file))))
(defun eww-make-unique-file-name (file directory)