Re: parameter quoting - LC comment on draft-nottingham-http-link-header-07.txt
Mike Burrows <asplake@freenetname.co.uk> Thu, 21 January 2010 15:01 UTC
Return-Path: <asplake@googlemail.com>
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 250AF3A68F4 for <apps-discuss@core3.amsl.com>; Thu, 21 Jan 2010 07:01:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.976
X-Spam-Level:
X-Spam-Status: No, score=-3.976 tagged_above=-999 required=5 tests=[AWL=-2.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2TBi5WaaVnwr for <apps-discuss@core3.amsl.com>; Thu, 21 Jan 2010 07:01:33 -0800 (PST)
Received: from mail-pz0-f195.google.com (mail-pz0-f195.google.com [209.85.222.195]) by core3.amsl.com (Postfix) with ESMTP id 0D5973A68DB for <discuss@apps.ietf.org>; Thu, 21 Jan 2010 07:01:33 -0800 (PST)
Received: by pzk33 with SMTP id 33so36961pzk.2 for <discuss@apps.ietf.org>; Thu, 21 Jan 2010 07:01:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=hY6hgQUi60+YxbjD0DH4aim8wSWvpx22K8ZTdAGT4Q0=; b=lUhvcf7US+XMaDZzNBRb7z86JoA0rkrUSl4obM4D5sCTqkx3saIM2sHOakWHiNpkOX pkHC8jfgIQuWWJmNpcSpb3hhcK2AVYl4fpGJiRjZqJ0Nn0bxtbFQwPR0JH7dn7CbfVf+ jVxm2bcPEg35HX2qoiDXsDaMjSs/a9CtNe5zk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pjKZIF4uIYFWMJaURLwb+6IPSHT92xnAF1QLhEs73d8Xl01twhqJljK3+HXJlK/GGQ HHTH+6NkyPJv+wtAh/vphb8ucR9TkCW9PuG1yzXzP92+Tu9GX7bptKgMfny4UWLcRpt2 GqwOZWN23y7YgGE104oVgLWIKwRIk9WsBI3DA=
MIME-Version: 1.0
Sender: asplake@googlemail.com
Received: by 10.141.12.10 with SMTP id p10mr1114613rvi.77.1264086085860; Thu, 21 Jan 2010 07:01:25 -0800 (PST)
In-Reply-To: <4B585B06.1040704@gmx.de>
References: <20100119053002.5CD613A683B@core3.amsl.com> <E4FF7733-D744-4AC3-AB99-66A12868E4CE@mnot.net> <4B56E27D.800@gmx.de> <4B585B06.1040704@gmx.de>
Date: Thu, 21 Jan 2010 16:01:25 +0100
X-Google-Sender-Auth: 9db4cf412d22c1fe
Message-ID: <7a2269961001210701t15ea51cdmf48cc696282c44b6@mail.gmail.com>
Subject: Re: parameter quoting - LC comment on draft-nottingham-http-link-header-07.txt
From: Mike Burrows <asplake@freenetname.co.uk>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: multipart/alternative; boundary="000e0cd106121cfc6d047dadfa63"
X-Mailman-Approved-At: Thu, 21 Jan 2010 08:13:58 -0800
Cc: Apps Discuss <discuss@apps.ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mjb@asplake.co.uk
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jan 2010 15:01:34 -0000
Hi Julian (and all), Which made have a closer look at existing parameters (sorry for not bringing > this up earlier): > > | ( "type" "=" type-name "/" subtype-name ) > > I believe this *definitively* needs quoting, as "/" is a separator > character in HTTP and thus can not appear in a token. > But is 'type-name "/" subtype-name' a token? I didn't interpret as such - in fact I assumed (perhaps erroneously) that it was in fact two tokens separated by "/". Regards, Mike 2010/1/21 Julian Reschke <julian.reschke@gmx.de> > Hi, > > a few comments regarding quoting of link parameters: > > <http://tools.ietf.org/html/draft-nottingham-http-link-header-07#section-5> > defines the new parameters: > > | ( "hreflang" "=" Language-Tag ) > | ( "media" "=" ( MediaDesc | <"> MediaDesc <"> ) ) > > "hreflang" and "media", so quoting is allowed for media, but it's not for > hreflang. I think it's correct that valid language tags never require > quoting, but I'm not sure that disallowing quoting is the right thing to do > here. > > Which made have a closer look at existing parameters (sorry for not > bringing this up earlier): > > | ( "type" "=" type-name "/" subtype-name ) > > I believe this *definitively* needs quoting, as "/" is a separator > character in HTTP and thus can not appear in a token. > > Also, as this spec uses the RFC 2616 ABNF, we probably need to duplicate > the statement from < > http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.3.7>: > > "...Linear white space (LWS) MUST NOT be used between the type and subtype, > ..." > > Best regards, Julian > > > > > > > >
- Fwd: New Version Notification - draft-nottingham-… Mark Nottingham
- Re: Fwd: New Version Notification - draft-notting… Julian Reschke
- Re: New Version Notification - draft-nottingham-h… Jan Algermissen
- anchor parameter - LC comment on draft-nottingham… Julian Reschke
- rev parameter - LC comment on draft-nottingham-ht… Julian Reschke
- parameter quoting - LC comment on draft-nottingha… Julian Reschke
- editorial LC comments on draft-nottingham-http-li… Julian Reschke
- exposing sensitive information in URIs - LC comme… Julian Reschke
- Re: parameter quoting - LC comment on draft-notti… Julian Reschke
- Re: New Version Notification - draft-nottingham-h… Mike Burrows
- Re: New Version Notification - draft-nottingham-h… Subbu Allamaraju
- Re: parameter quoting - LC comment on draft-notti… Mike Burrows
- Re: anchor parameter - LC comment on draft-nottin… Mark Nottingham
- Re: parameter quoting - LC comment on draft-notti… Mark Nottingham
- Re: rev parameter - LC comment on draft-nottingha… Mark Nottingham
- Re: editorial LC comments on draft-nottingham-htt… Mark Nottingham
- Re: New Version Notification - draft-nottingham-h… Mark Nottingham
- Re: anchor parameter - LC comment on draft-nottin… Julian Reschke
- Re: parameter quoting - LC comment on draft-notti… Julian Reschke
- Re: rev parameter - LC comment on draft-nottingha… Julian Reschke
- Re: New Version Notification - draft-nottingham-h… Subbu Allamaraju
- Re: New Version Notification - draft-nottingham-h… Jan Algermissen
- Re: anchor parameter - LC comment on draft-nottin… Mark Nottingham
- Re: New Version Notification - draft-nottingham-h… Mark Nottingham
- Re: exposing sensitive information in URIs - LC c… Mark Nottingham
- Re: New Version Notification - draft-nottingham-h… Subbu Allamaraju
- Re: anchor parameter - LC comment on draft-nottin… Julian Reschke
- Re: editorial LC comments on draft-nottingham-htt… Mark Nottingham
- Re: rev parameter - LC comment on draft-nottingha… Mark Nottingham
- Re: rev parameter - LC comment on draft-nottingha… Anne van Kesteren
- Re: rev parameter - LC comment on draft-nottingha… Julian Reschke
- Re: rev parameter - LC comment on draft-nottingha… Mark Nottingham
- Re: anchor parameter - LC comment on draft-nottin… Mark Nottingham
- Re: rev parameter - LC comment on draft-nottingha… Julian Reschke
- Re: anchor parameter - LC comment on draft-nottin… Julian Reschke
- Re: rev parameter - LC comment on draft-nottingha… Roy T. Fielding
- Re: rev parameter - LC comment on draft-nottingha… Mark Nottingham
- Re: rev parameter - LC comment on draft-nottingha… Julian Reschke
- Re: anchor parameter - LC comment on draft-nottin… Mark Nottingham
- Re: anchor parameter - LC comment on draft-nottin… Julian Reschke
- Re: anchor parameter - LC comment on draft-nottin… Mark Nottingham
- Re: anchor parameter - LC comment on draft-nottin… Julian Reschke
- Re: anchor parameter - LC comment on draft-nottin… Mark Nottingham
- Re: anchor parameter - LC comment on draft-nottin… Julian Reschke