diff options
| author | Stefan Monnier | 2006-09-01 02:31:47 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-09-01 02:31:47 +0000 |
| commit | c2a7ddb1f31351b0dff9ec562ed6d83f918acb59 (patch) | |
| tree | 786dc55d9363e6645566ea4b82a8e1df10552669 | |
| parent | fb7dc310ed646b55225d58d1a7a3ed7fbdda9847 (diff) | |
| download | emacs-c2a7ddb1f31351b0dff9ec562ed6d83f918acb59.tar.gz emacs-c2a7ddb1f31351b0dff9ec562ed6d83f918acb59.zip | |
(url-http-create-request):
Use `url-recreate-url-attributes' when setting real-fname.
| -rw-r--r-- | lisp/url/ChangeLog | 15 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 3 |
2 files changed, 15 insertions, 3 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 135fdec0921..ad3912de67f 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,6 +1,17 @@ | |||
| 1 | 2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change) | 1 | 2006-08-31 Diane Murray <disumu@x3y2z1.net> |
| 2 | 2 | ||
| 3 | * url-cookie.el (url-cookie-write-file): Really don't use versioned backups. | 3 | * url-parse.el (url-recreate-url-attributes): New function, code |
| 4 | simply moved from `url-recreate-url'. | ||
| 5 | (url-recreate-url): Use it. | ||
| 6 | Put the `url-target' at the end of the URL after the attributes. | ||
| 7 | |||
| 8 | * url-http.el (url-http-create-request): | ||
| 9 | Use `url-recreate-url-attributes' when setting real-fname. | ||
| 10 | |||
| 11 | 2006-08-29 Diane Murray <disumu@x3y2z1.net> | ||
| 12 | |||
| 13 | * url-cookie.el (url-cookie-write-file): Really don't use versioned | ||
| 14 | backups. | ||
| 4 | 15 | ||
| 5 | 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca> | 16 | 2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 6 | 17 | ||
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index ae3a4b3e070..a1d87e1bd31 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -160,7 +160,8 @@ request.") | |||
| 160 | (let ((url-basic-auth-storage | 160 | (let ((url-basic-auth-storage |
| 161 | 'url-http-proxy-basic-auth-storage)) | 161 | 'url-http-proxy-basic-auth-storage)) |
| 162 | (url-get-authentication url nil 'any nil)))) | 162 | (url-get-authentication url nil 'any nil)))) |
| 163 | (real-fname (url-filename (or proxy-obj url))) | 163 | (real-fname (concat (url-filename (or proxy-obj url)) |
| 164 | (url-recreate-url-attributes (or proxy-obj url)))) | ||
| 164 | (host (url-host (or proxy-obj url))) | 165 | (host (url-host (or proxy-obj url))) |
| 165 | (auth (if (cdr-safe (assoc "Authorization" url-request-extra-headers)) | 166 | (auth (if (cdr-safe (assoc "Authorization" url-request-extra-headers)) |
| 166 | nil | 167 | nil |