Commit 00d972eb authored by Magnus Henoch's avatar Magnus Henoch

(url-retrieve-internal): Don't use `url-proxy-object'.

parent c1e6d824
2007-01-14 Magnus Henoch <mange@freemail.hu>
* url-proxy.el (url-proxy-object): Remove.
(url-proxy): Don't use `url-proxy-object'. Act according to type of
proxy (currently only HTTP supported).
* url.el (url-retrieve-internal): Don't use `url-proxy-object'.
* url-http.el (url-http-proxy): New variable.
(url-http-create-request): Use it. Don't use `url-proxy-object'.
(url-http): Treat `url' argument as resource to download, and
dynamic variable `url-using-proxy' as proxy to use. Set
`url-current-object' to actual URL, and `url-http-proxy' to proxy
used.
(url-http-handle-cookies): Assume that `url-current-object' does
not point to the proxy used.
(url-http-async-sentinel): Adapt error message.
2006-12-10 Juanma Barranquero <lekktu@gmail.com>
* url-gw.el (url-gateway-nslookup-program): Doc fix.
......
......@@ -172,7 +172,6 @@ the list of events, as described in the docstring of `url-retrieve'."
(unless (url-type url)
(error "Bad url: %s" (url-recreate-url url)))
(let ((loader (url-scheme-get-property (url-type url) 'loader))
(url-proxy-object nil)
(url-using-proxy (if (url-host url)
(url-find-proxy-for-url url (url-host url))))
(buffer nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment