Re: org.w3c.www.http.HttpInvalidValueException: Invalid content type.

* Martin Wilson wrote:
>When I try to validate the url
>http://www.rsc.org.uk/collection/jsp/index.jsp using the CSS validator I get
>the following error:
>org.w3c.www.http.HttpInvalidValueException: Invalid content type.

  % http-head http://www.rsc.org.uk/collection/jsp/index.jsp
  HTTP/1.1 200 OK
  Server: Microsoft-IIS/5.0
  Date: Tue, 21 Jan 2003 00:14:50 GMT
  Connection: close
  Content-Type: text/html;ISO-8859-1
  Expires: Thu, 01 Jan 1970 00:00:00 GMT
  Set-Cookie: 
   JSESSIONID=8004B8E24D454AF27503802A2C3CC1DF;Path=/collection
  Pragma: No-cache
  Cache-Control: no-cache

Your Content-Type is indeed invalid, it should be
"text/html;charset=ISO-8859-1".

Received on Monday, 20 January 2003 19:21:01 UTC