W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2002

[BUG] invalid HTTP headers and HttpURLConnection.getContentType

From: Philippe Le Hegaret <plh@w3.org>
Date: 12 Jul 2002 16:53:34 -0400
To: Yves Lafon <ylafon@w3.org>
Cc: www-validator-css@w3.org
Message-Id: <1026507214.13928.429.camel@jfouffa>

http://www.health.wa.gov.au gives a "oops, internal error" message. I
looked a little bit and it seems that the HttpURLConnection in Jigsaw
does not like the HTTP Headers returned by the site:

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Fri, 12 Jul 2002 20:48:37 GMT
Connection: close
WEBTRENDS_ID=; path=/; expires=Sat, 12-Jul-2003 20:48:37 GMT

Content-type: text/html
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: CFID=29773; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; 
Set-Cookie: CFTOKEN=76545204; expires=Sun, 27-Sep-2037 00:00:00 GMT;



The blank line between the headers seems wrong to me ... 

Error detail:

[ERROR] http://www.health.wa.gov.au
        at org.w3c.www.protocol.http.HttpURLConnection.getContentType(HttpURLConnection.java:161)
        at org.w3c.css.css.HTMLStyleSheetParser.<init>(HTMLStyleSheetParser.java:107)
        at org.w3c.css.servlet.CssValidator.doGet(CssValidator.java:305)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
        at org.w3c.jigsaw.servlet.ServletWrapper$ServletRunner.run(ServletWrapper.java:540)
        at org.w3c.util.CachedThread.run(ThreadCache.java:87)

Received on Friday, 12 July 2002 16:53:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:38 UTC