W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2011

Re: Media-type containing semi-colon but no parameter

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 04 Jul 2011 16:02:35 +0200
Message-ID: <4E11C7FB.8070205@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: HTTP WG <ietf-http-wg@w3.org>
On 2011-07-04 15:49, Anne van Kesteren wrote:
> Currently per HTTP the following constitutes an incorrect Content-Type
> header:
> Content-Type: text/html;
> as per media-type the semi-colon must be followed by a parameter. No
> implementation I know of treats that as an unknown media type however.
> They arrive at the somewhat obvious text/html media type. It would make
> sense to me if HTTP were changed to allow a trailing semi-colon.

Well, this may break existing implementations that enforce it.

Have you seen header field instances like this in the wild?

Best regards, Julian
Received on Monday, 4 July 2011 14:03:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:58 UTC