obs-text character encoding and error handling; duplicate parameter names in Content-Type

"Peter Occil" <poccil14@gmail.com> Sat, 25 May 2013 07:17 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9695121F93ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 May 2013 00:17:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.065
X-Spam-Level:
X-Spam-Status: No, score=-10.065 tagged_above=-999 required=5 tests=[AWL=0.534, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k51+fAM416uQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 May 2013 00:17:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 031AC21F93F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 May 2013 00:17:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ug8h6-0006C3-Fn for ietf-http-wg-dist@listhub.w3.org; Sat, 25 May 2013 07:15:12 +0000
Resent-Date: Sat, 25 May 2013 07:15:12 +0000
Resent-Message-Id: <E1Ug8h6-0006C3-Fn@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <poccil14@gmail.com>) id 1Ug8gm-0003Rd-L7 for ietf-http-wg@listhub.w3.org; Sat, 25 May 2013 07:14:52 +0000
Received: from mail-gg0-f182.google.com ([209.85.161.182]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <poccil14@gmail.com>) id 1Ug8gi-0003sF-4n for ietf-http-wg@w3.org; Sat, 25 May 2013 07:14:52 +0000
Received: by mail-gg0-f182.google.com with SMTP id q2so1620877ggc.27 for <ietf-http-wg@w3.org>; Sat, 25 May 2013 00:14:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:mime-version:content-type :x-priority:x-msmail-priority:importance:x-mailer:x-mimeole; bh=iVAQbBzc+ZCiyJmem3oUnDTmdC9z+4MYh9LF1G7P980=; b=WNCJRstR9jA35EJL6hp9vXNyU+z3XPHB0n4KNTNyxj993cPkmR5cWLgXut2HUFoxJ+ iYCZnpR/CAdoy5isPKHyleHfjXnfdJKsMox57to5DLSB0w0L4ZNRilkgAb2ca9mIkLP8 DG6ML0L/IoUX0gGyC/3P8iIbURIK/tVr8TDQvnJRyS2BIqXt2loebNbE8sDYK2ep6/7C MMCOgeqp0RMpQt4uEpAlqtptD7qb3Rw+SdMb5MBfMFxajwnV41EKJRnYil9uSXOje0rt PbtEPF0yDobUYGKbNZtN+WoroYxLYXgjBPPbMHp3jMhTgEC7TYmZLOb144BlYv0YzrkO YT4A==
X-Received: by 10.236.139.133 with SMTP id c5mr11652987yhj.61.1369466062519; Sat, 25 May 2013 00:14:22 -0700 (PDT)
Received: from PeterPC (c-76-119-210-197.hsd1.ma.comcast.net. [76.119.210.197]) by mx.google.com with ESMTPSA id a24sm28307399yho.24.2013.05.25.00.14.20 for <ietf-http-wg@w3.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 25 May 2013 00:14:21 -0700 (PDT)
Message-ID: <F2550CB07E9B440F9AC001D3038A634C@PeterPC>
From: Peter Occil <poccil14@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Sat, 25 May 2013 03:14:15 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B7_01CE58F5.EFA605F0"
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 15.4.3555.308
X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308
Received-SPF: pass client-ip=209.85.161.182; envelope-from=poccil14@gmail.com; helo=mail-gg0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-3.7
X-W3C-Hub-Spam-Report: AWL=-1.270, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ug8gi-0003sF-4n 4f4ea01c8904a0b398950197387c7065
X-Original-To: ietf-http-wg@w3.org
Subject: obs-text character encoding and error handling; duplicate parameter names in Content-Type
Archived-At: <http://www.w3.org/mid/F2550CB07E9B440F9AC001D3038A634C@PeterPC>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18086
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

obs-text character encoding and error handling; duplicate parameter names in Content-Type

I have two issues.

1. obs-text character encoding and error handling

What is the character encoding used when a header field value contains obs-text, and particularly
parameter values in Content-Type?  Is it ISO-8859-1, UTF-8, or something else?  Or is the encoding
  undefined?  Error handling rules for obs-text, unlike for obs-fold, are also absent.

2. Duplicate parameter names in Content-Type

Suppose that the following Content-Type is received:

    text/html; charset=iso-8859-1; charset=utf-8
 
What is the resulting value of the charset parameter?  Is it iso-8859-1, utf-8, an error, or undefined?
(This issue also applies to Content-Disposition, Accept, and other header fields that use parameters.)
 
--Peter