W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2010

Re: Handling multiple headers when only one is allowed

From: Adam Barth <ietf@adambarth.com>
Date: Thu, 17 Jun 2010 22:29:27 -0700
Message-ID: <AANLkTinAMm8qEuQPzfroZ0Dgx-uauDghYxk5DfWomMGL@mail.gmail.com>
To: Adrien de Croy <adrien@qbik.com>
Cc: Bil Corry <bil@corry.biz>, HTTP Working Group <ietf-http-wg@w3.org>, Michal Zalewski <lcamtuf@google.com>, Jeff Hodges <Jeff.Hodges@kingsmountain.com>, "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
On Tue, Jun 8, 2010 at 5:36 PM, Adrien de Croy <adrien@qbik.com> wrote:
> Or 2 or more different Content-Type headers, or even conflicting charsets.
>  Or multiple Content-Encoding headers.

For multiple Content-Type headers, the most compatible behavior is to
use the last header.  I've seen several examples where using the last
header is required to process the response as the sender intended.
This information is document in draft-abarth-mime-sniff.

Received on Friday, 18 June 2010 05:30:18 UTC

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