From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 24 May 2005 18:19:32 +1000 Message-ID: <87y8a59gtn.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116926163 1300 80.91.229.2 (24 May 2005 09:16:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 09:16:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 11:16:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaVUz-0002JI-Sh for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 11:14:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaVYc-00005k-UL for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 05:18:38 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 52 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116922773 59.167.21.36 (24 May 2005 17:49:33 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!newsfeed.pacific.net.au!token.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131488 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26945 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26945 Thierry Emery writes: > Tim X 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 Thierry, Thanks a lot for that - you saved me a lot of work and have gone above and beyond with this one. Greatly appreciated! regards, Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!