W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2010

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

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 8 Nov 2010 02:56:32 -0500 (EST)
To: Bhavatmaj Seth <bhavatmaj@gmail.com>
cc: www-validator-css@w3.org
Message-ID: <alpine.DEB.1.10.1011080255180.13080@wnl.j3.bet>
On Mon, 8 Nov 2010, Bhavatmaj Seth wrote:

> Hi,
> I am testing  http://www.a1-diamond.com/   or
> http://www.a1-diamond.com/styles/style2.css
>
> and http://jigsaw.w3.org/css-validator/validator is giving me this
> error  -1 Unknown
> error org.w3c.www.http.HttpInvalidValueException: Invalid content type.
> Please advice what to do to correct it
> thanks in advance

Your Content-Type is incorrect,
Try Content-Type: text/css;charset=utf-8 instead of
Content-Type: text/css;charset: UTF-8
Cheers,

-- 
Baroula que barouleras, au tiƩu toujou t'entourneras.

         ~~Yves
Received on Monday, 8 November 2010 07:56:35 GMT

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