[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

url-http.el: calling the callback function for proxy connections

From: Klaus Straubinger
Subject: url-http.el: calling the callback function for proxy connections
Date: Fri, 5 Jan 2007 10:49:36 +0100 (CET)

The function url-http-activate-callback calls the callback function
after completing the URL retrieval. If the connection had been through
a proxy, the variable url-current-object contains only the proxy

All callback functions that want to evaluate or display which URL had
been retrieved are not working properly when using the variable
url-current-object or the function url-view-url that also uses

My proposal is to do

  (let ((url-current-object url-http-target-url))


  (apply url-callback-function url-callback-arguments)

within the function url-http-activate-callback as already done in the
function url-http-handle-cookies.

This would, for example, make HTTP-EQUIV redirects handled by the W3
package work even for proxy connections.

Klaus Straubinger

reply via email to

[Prev in Thread] Current Thread [Next in Thread]