From: Klaus Straubinger <KSNetz@UseNet.ArcorNews.DE>
Subject: url-http.el: calling the callback function for proxy connections
Date: Fri, 5 Jan 2007 10:49:36 +0100 (CET) [thread overview]
Message-ID: <m3r6u9by6n.fsf@WdfD00131831a.SAP.Corp> (raw)
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
next reply other threads:[~2007-01-05 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-05 9:49 Klaus Straubinger [this message]
2007-01-14 23:22 ` url-http.el: calling the callback function for proxy connections Magnus Henoch
[not found] ` <87odoyvwe6.fsf@freemail.hu>
2007-01-17 13:00 ` Klaus Straubinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r6u9by6n.fsf@WdfD00131831a.SAP.Corp \
--to=ksnetz@usenet.arcornews.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.