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

Media-type containing semi-colon but no parameter

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 04 Jul 2011 15:49:37 +0200
To: "HTTP WG" <ietf-http-wg@w3.org>
Message-ID: <op.vx3kozqb64w2qv@anne-van-kesterens-macbook-pro.local>
Currently per HTTP the following constitutes an incorrect Content-Type  

   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.

Anne van Kesteren
Received on Monday, 4 July 2011 13:50:17 UTC

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