[BUG] invalid HTTP headers and HttpURLConnection.getContentType

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
Set-Cookie:
WEBTRENDS_ID=18.29.0.174-2134255200.29501925::B35165765B39CED9FD37CE3CEA870ED7; 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;
path=/; 

 
        


<html>
[...]

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


Error detail:

[ERROR] http://www.health.wa.gov.au
java.lang.NullPointerException
        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)


Philippe

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