Re: [websec] of quoted-string header field param value syntax (was: Strict-Transport-Security syntax redux)

Julian Reschke <julian.reschke@gmx.de> Mon, 16 January 2012 08:24 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C26DB21F854F for <websec@ietfa.amsl.com>; Mon, 16 Jan 2012 00:24:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.46
X-Spam-Level:
X-Spam-Status: No, score=-103.46 tagged_above=-999 required=5 tests=[AWL=-0.861, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 N0FXdZdABIzG for <websec@ietfa.amsl.com>; Mon, 16 Jan 2012 00:24:12 -0800 (PST)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id B5EFB21F854E for <websec@ietf.org>; Mon, 16 Jan 2012 00:24:11 -0800 (PST)
Received: (qmail invoked by alias); 16 Jan 2012 08:24:10 -0000
Received: from p5DCC2944.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.41.68] by mail.gmx.net (mp008) with SMTP; 16 Jan 2012 09:24:10 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+XIJosEW6X4I8yJyaVhiie3+lpKO9GRW6bKqSr2U r5H3MrcPJxXmJo
Message-ID: <4F13DEA2.1000801@gmx.de>
Date: Mon, 16 Jan 2012 09:24:02 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: =JeffH <Jeff.Hodges@KingsMountain.com>
References: <4F139068.3030809@KingsMountain.com>
In-Reply-To: <4F139068.3030809@KingsMountain.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: IETF WebSec WG <websec@ietf.org>
Subject: Re: [websec] of quoted-string header field param value syntax (was: Strict-Transport-Security syntax redux)
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jan 2012 08:24:12 -0000

On 2012-01-16 03:50, =JeffH wrote:
> ...
> though, I remain curious as to why the STS parsing in Firefox & Chrome
> is apparently each a one-off and doesn't use the more generic HTTP
> header-field parsing routines that are available and which appear to
> handle quoted-string, arbitrary header field parameter ordering, etc.
> ...

Well. One reason for that is that STS is indeed different from other 
header fields (for instance, things like Content-Type, Expect, or 
Cache-Control).

To enable UAs to re-use code, you need to specify the header field so 
that code can indeed be re-used.

Best regards, Julian