W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2003

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 21 Jan 2003 01:21:17 +0100
To: "Martin Wilson" <martinw@bn2web.com>
Cc: <www-validator-css@w3.org>
Message-ID: <3e40923c.87497685@smtp.bjoern.hoehrmann.de>

* 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:49 UTC