diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 81096cfb800..21a779f85b3 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-10-07 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * url-http.el (url-http-create-request): Recheck zlib availability | ||
| 4 | on windows-nt each time it might be required. (Bug#18650) | ||
| 5 | |||
| 1 | 2014-09-28 Ulf Jasper <ulf.jasper@web.de> | 6 | 2014-09-28 Ulf Jasper <ulf.jasper@web.de> |
| 2 | 7 | ||
| 3 | * url-gw.el (url-open-stream): New optional parameter | 8 | * url-gw.el (url-open-stream): New optional parameter |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 9a874c25ce0..f9fbea1ba74 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -313,7 +313,14 @@ request.") | |||
| 313 | (concat | 313 | (concat |
| 314 | "From: " url-personal-mail-address "\r\n")) | 314 | "From: " url-personal-mail-address "\r\n")) |
| 315 | ;; Encodings we understand | 315 | ;; Encodings we understand |
| 316 | (if url-mime-encoding-string | 316 | (if (or url-mime-encoding-string |
| 317 | ;; MS-Windows loads zlib dynamically, so recheck | ||
| 318 | ;; in case they made it available since | ||
| 319 | ;; initialization in url-vars.el. | ||
| 320 | (and (eq 'system-type 'windows-nt) | ||
| 321 | (fboundp 'zlib-available-p) | ||
| 322 | (zlib-available-p) | ||
| 323 | (setq url-mime-encoding-string "gzip"))) | ||
| 317 | (concat | 324 | (concat |
| 318 | "Accept-encoding: " url-mime-encoding-string "\r\n")) | 325 | "Accept-encoding: " url-mime-encoding-string "\r\n")) |
| 319 | (if url-mime-charset-string | 326 | (if url-mime-charset-string |