W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2007

Re: CSS validator apparently not following redirects

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 22 Oct 2007 13:22:01 +0300
Message-ID: <00d001c81495$66fa6e30$0400000a@DOCENDO>
To: <www-validator-css@w3.org>, "Steven Pemberton" <steven.pemberton@cwi.nl>

Steven Pemberton wrote:

> I tried to validate http://www.cwi.nl/~steven/amsterdam.html

This is odd, because a redirect problem was reported in 2004 and fixed, see
http://lists.w3.org/Archives/Public/www-validator-css/2004May/0004.html
and the URL that was reported as non-working now works OK.

I get
"I/O Error: http://www.cwi.nl/~steven/amsterdam.html: Not Found"
which is somewhat laconic (can't we get the HTTP error code? perhaps even 
the error page, i.e. the document that explains the error, if present).

I get a similar message for the external style sheet referenced,
http://www.cwi.nl/~steven/amsterdam/amsterdam.css
whereas the address it redirects to,
http://homepages.cwi.nl/~steven/amsterdam/amsterdam.css
gets processed OK by the CSS Validator.

The server responses look like normal HTTP redirects to me, except for some 
odd-looking characters (digits) after and before the error page (for GET 
request):

% telnet www.cwi.nl 80
Trying 192.16.191.37...
Connected to caduceus.cwi.nl.
Escape character is '^]'.
GET /~steven/amsterdam.html HTTP/1.1
Host: www.cwi.nl

HTTP/1.1 302 Found
Date: Mon, 22 Oct 2007 10:18:09 GMT
Server: Apache/1.3.27 (Unix)
Location: http://homepages.cwi.nl/~steven/amsterdam.html
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

125
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A 
HREF="http://homepages.cwi.nl/~steven/amsterdam.html">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.27 Server at www.cwi.nl Port 80</ADDRESS>
</BODY></HTML>

0

Connection to caduceus.cwi.nl closed by foreign host.
%

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 
Received on Monday, 22 October 2007 10:21:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:19 GMT