[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 21 and w3 on Debian
From: |
Thierry Emery |
Subject: |
Re: Emacs 21 and w3 on Debian |
Date: |
Mon, 23 May 2005 11:09:03 +0200 |
User-agent: |
T-gnus/6.17.3 (based on No Gnus v0.3) SEMI/1.14.6 (Maruoka)FLIM/1.14.7 (Sanjō) APEL/10.6 Emacs/22.0.50 (gnu/linux) MULE/5.0 (SAKAKI) |
Tim X <timx@spamto.devnul.com> writes:
> Can you try http://www.une.edu.au/itd and then try one of the links on
> the page you get i.e. "About ITD" and see if that works for you. I've
> found that if I use that link instead of
> http://www.une.edu.au/itd/index.html, it doesn't work, but if I
> use the full link with the index.html on the end, relative links work
> OK.
Oh, i hadn't though of that !
What happens is that `url-http-parse-headers' gets back a "301"
redirection, with URI "http://www.une.edu.au/itd/", but it does not
pass it on to `w3-fetch-callback' ...
This can be solved with the following patch to url-http.el:
--- url-http.el~
+++ url-http.el
@@ -461,7 +461,8 @@
(url-request-data url-http-data)
(url-request-extra-headers url-http-extra-headers))
(url-retrieve redirect-uri url-callback-function
- url-callback-arguments)
+ (list redirect-uri) ;;url-callback-arguments
+ )
(url-mark-buffer-as-dead (current-buffer))))))
((= class 4) ; Client error
;; 400 Bad Request
HTH,
Thierry
--
thierry |dot| emery |at| free |dot| fr
- Emacs 21 and w3 on Debian, Tim X, 2005/05/22
- Re: Emacs 21 and w3 on Debian, Tim X, 2005/05/24
- Message not available
- Re: Emacs 21 and w3 on Debian, Thierry Emery, 2005/05/25
- Re: Emacs 21 and w3 on Debian, Thierry Emery, 2005/05/26
- Message not available
- Re: Emacs 21 and w3 on Debian, Thierry Emery, 2005/05/27
- Message not available
- Re: Emacs 21 and w3 on Debian, Kevin Rodgers, 2005/05/25
- Message not available
- Message not available
- Message not available
- Re: Emacs 21 and w3 on Debian, Kevin Rodgers, 2005/05/27
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Emacs 21 and w3 on Debian, Kevin Rodgers, 2005/05/31
- Message not available
- Re: Emacs 21 and w3 on Debian, Tim X, 2005/05/24