diff options
| author | Richard M. Stallman | 2005-06-28 21:35:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-06-28 21:35:28 +0000 |
| commit | 231add10dbe566f689c2b7f2d8673bcd375ec688 (patch) | |
| tree | e5aab3f68023fda46cbfffc677e667812322c539 | |
| parent | 025691ed9214f914e03d5b6585c2528375d32d4a (diff) | |
| download | emacs-231add10dbe566f689c2b7f2d8673bcd375ec688.tar.gz emacs-231add10dbe566f689c2b7f2d8673bcd375ec688.zip | |
(url-http-create-request): Call url-recreate-url in proxy case.
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index e8c28b9d301..4148d62c263 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-06-28 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) | ||
| 2 | |||
| 3 | * url-http.el (url-http-create-request): Call url-recreate-url | ||
| 4 | in proxy case. | ||
| 5 | |||
| 1 | 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) | 6 | 2005-06-27 Klaus Straubinger <KSNetz@Arcor.DE> (tiny change) |
| 2 | 7 | ||
| 3 | * url-http.el (url-http-create-request): When computing real-fname, | 8 | * url-http.el (url-http-create-request): When computing real-fname, |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 068a6ea0d17..0b7e2cef8a1 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -199,7 +199,9 @@ request. | |||
| 199 | (setq request | 199 | (setq request |
| 200 | (concat | 200 | (concat |
| 201 | ;; The request | 201 | ;; The request |
| 202 | (or url-request-method "GET") " " real-fname " HTTP/" url-http-version "\r\n" | 202 | (or url-request-method "GET") " " |
| 203 | (if proxy-obj (url-recreate-url proxy-obj) real-fname) | ||
| 204 | " HTTP/" url-http-version "\r\n" | ||
| 203 | ;; Version of MIME we speak | 205 | ;; Version of MIME we speak |
| 204 | "MIME-Version: 1.0\r\n" | 206 | "MIME-Version: 1.0\r\n" |
| 205 | ;; (maybe) Try to keep the connection open | 207 | ;; (maybe) Try to keep the connection open |