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.

This is not documented. It is also quite bad since the file name for saving is no longer available.

There is also another bug. When trying to follow a link that is pointing to a directory but with the trailing slash omitted I get back just an empty buffer.

I have done a workaround for the first case - by following the redirection links. This workaround however prevents asynchronously download. Please see this link for test cases (and my work around):

   http://ourcomments.org/Emacs/DL/inst/url-dl.el


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.0.2195)
Compiled from CVS 2005-06-20.


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to