1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(url-http-create-request):

Use `url-recreate-url-attributes' when setting real-fname.
This commit is contained in:
Stefan Monnier 2006-09-01 02:31:47 +00:00
parent fb7dc310ed
commit c2a7ddb1f3
2 changed files with 15 additions and 3 deletions

View file

@ -1,6 +1,17 @@
2006-08-29 Diane Murray <disumu@x3y2z1.net> (tiny change)
2006-08-31 Diane Murray <disumu@x3y2z1.net>
* url-cookie.el (url-cookie-write-file): Really don't use versioned backups.
* url-parse.el (url-recreate-url-attributes): New function, code
simply moved from `url-recreate-url'.
(url-recreate-url): Use it.
Put the `url-target' at the end of the URL after the attributes.
* url-http.el (url-http-create-request):
Use `url-recreate-url-attributes' when setting real-fname.
2006-08-29 Diane Murray <disumu@x3y2z1.net>
* url-cookie.el (url-cookie-write-file): Really don't use versioned
backups.
2006-08-25 Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -160,7 +160,8 @@ request.")
(let ((url-basic-auth-storage
'url-http-proxy-basic-auth-storage))
(url-get-authentication url nil 'any nil))))
(real-fname (url-filename (or proxy-obj url)))
(real-fname (concat (url-filename (or proxy-obj url))
(url-recreate-url-attributes (or proxy-obj url))))
(host (url-host (or proxy-obj url)))
(auth (if (cdr-safe (assoc "Authorization" url-request-extra-headers))
nil