emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: url-retrieve bad handling of redirections


From: Lennart Borgman
Subject: Re: url-retrieve bad handling of redirections
Date: Tue, 28 Jun 2005 21:40:26 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Richard M. Stallman wrote:

I am using url-retrieve and url-retrieve-synchronously to fetch URLs. When the web pages fetched are redirected the callback routines are called with unexpected parameters. I am not quite sure of all the details but the most common error is that the callback parameter for the file name to save instead has the redirection url.

What change would you suggest?

Adding a new parameter to the callback routine so that it still can have the original outfile as a parameter. That way you could continue from the redirect and change the redirected url instead of the original.




reply via email to

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