Re: "Magic" string

Martin Thomson <martin.thomson@gmail.com> Mon, 20 May 2013 17:06 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 9A3FD21F96EC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 May 2013 10:06:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 iyfIgAvvzWBD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 May 2013 10:06:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6BB5821F96EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 May 2013 10:06:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UeTXS-00075I-LY for ietf-http-wg-dist@listhub.w3.org; Mon, 20 May 2013 17:06:22 +0000
Resent-Date: Mon, 20 May 2013 17:06:22 +0000
Resent-Message-Id: <E1UeTXS-00075I-LY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UeTXH-00073j-F1 for ietf-http-wg@listhub.w3.org; Mon, 20 May 2013 17:06:11 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UeTXD-0001KP-2E for ietf-http-wg@w3.org; Mon, 20 May 2013 17:06:11 +0000
Received: by mail-we0-f171.google.com with SMTP id t59so1079968wes.30 for <ietf-http-wg@w3.org>; Mon, 20 May 2013 10:05:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M54fp0mNwd3GZKshAYsQOctGzkgmtYinjysTEYTiS1w=; b=jRFHq5IGjDoFwBUdk5e3hw1ekxTSokcLREj9qlxODLXufJPnIWqoTKwu1D5vNYeFKs V5tEepyVuNOv8xFGNvnXRptS1Xs5TF48DzAFT6+gFEbKIJRgwHgxKnLz2Kzj5/4fwH/m RuF0v0YP/a9vzwvC2x2Q9e8NXjJR2zjrNjLMOLBi8MAKZb0K96wEDpAocifbwTFdqCr8 MrQymmXp8DQ0f1DmtD06KBWIY9UUa4NgnGpS3csysHR2om3L7AvKtwWvKZxfiwCQqIgs jensxIKSuhQ2LQ83c0+kLdTqjjIEln8d40mgkGfmLZ2/DgzgKxU1DZNBsCAEX2g8lAHe QQKg==
MIME-Version: 1.0
X-Received: by 10.180.81.169 with SMTP id b9mr15752622wiy.12.1369069540939; Mon, 20 May 2013 10:05:40 -0700 (PDT)
Received: by 10.194.91.204 with HTTP; Mon, 20 May 2013 10:05:40 -0700 (PDT)
In-Reply-To: <85664EE9-3872-4A43-B7BA-1925FEFF0E81@mnot.net>
References: <85664EE9-3872-4A43-B7BA-1925FEFF0E81@mnot.net>
Date: Mon, 20 May 2013 10:05:40 -0700
Message-ID: <CABkgnnVTtEDj_n+X=4T5oUO_OSh42S5thr4L=HLH4cNu6mtyww@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.171; envelope-from=martin.thomson@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.669, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UeTXD-0001KP-2E 48173ca0d9f49baf46b7a88c17670b47
X-Original-To: ietf-http-wg@w3.org
Subject: Re: "Magic" string
Archived-At: <http://www.w3.org/mid/CABkgnnVTtEDj_n+X=4T5oUO_OSh42S5thr4L=HLH4cNu6mtyww@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18042
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>

On 19 May 2013 20:22, Mark Nottingham <mnot@mnot.net> wrote:
> We've currently incorporated the magic as:
>
>> The client connection header is a sequence of 25 octets (in hex notation)
>>
>> 464f4f202a20485454502f322e300d0a0d0a4241520d0a0d0a
>> (the string FOO * HTTP/2.0\r\n\r\nBAR\r\n\r\n) followed by a SETTINGS frame (Section 3.8.4).
>
> That string was based upon the quick testing I did a while back.
>
> I'm curious to know how people feel about this; while it's cosmetic, do we want to do something a little more... expected, like:
>
> START * HTTP/2.0\r\n\r\nGO\r\n\r\n

I don't care.  Existence > colour for this particular bike shed.

But I do know that 5 characters isn't going to fly.  I know at least
one (major) implementation that only expects 3 or 4 characters before
the space.