emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: url-http.el: calling the callback function for proxy con


From: Richard Stallman
Subject: address@hidden: url-http.el: calling the callback function for proxy connections]
Date: Fri, 12 Jan 2007 14:06:13 -0500

Magnus Henoch has not responded.  Can anyone else fix this?
Please ack.

------- Start of forwarded message -------
Date: Fri, 5 Jan 2007 10:49:36 +0100 (CET)
From: Klaus Straubinger <address@hidden>
To: address@hidden
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: url-http.el: calling the callback function for proxy connections
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
        version=3.0.4

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
reference.

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
url-current-object.

My proposal is to do

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

around

  (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


_______________________________________________
Emacs-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------





reply via email to

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