Re: [apps-discuss] Questions about Structured Syntax Suffixes (SSS)

ht@inf.ed.ac.uk (Henry S. Thompson) Thu, 24 May 2012 10:40 UTC

Return-Path: <ht@inf.ed.ac.uk>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B507521F856F for <apps-discuss@ietfa.amsl.com>; Thu, 24 May 2012 03:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 jNJmWcIkdkFz for <apps-discuss@ietfa.amsl.com>; Thu, 24 May 2012 03:40:15 -0700 (PDT)
Received: from treacle.ucs.ed.ac.uk (treacle.ucs.ed.ac.uk [129.215.16.102]) by ietfa.amsl.com (Postfix) with ESMTP id 77A6521F847C for <discuss@apps.ietf.org>; Thu, 24 May 2012 03:40:14 -0700 (PDT)
Received: from nutty.inf.ed.ac.uk (nutty.inf.ed.ac.uk [129.215.33.33]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id q4OAdu6j009061; Thu, 24 May 2012 11:40:06 +0100 (BST)
Received: from calexico.inf.ed.ac.uk (calexico.inf.ed.ac.uk [129.215.24.15]) by nutty.inf.ed.ac.uk (8.13.8/8.13.8) with ESMTP id q4OAdu7b007285; Thu, 24 May 2012 11:39:56 +0100
Received: from calexico.inf.ed.ac.uk (localhost [127.0.0.1]) by calexico.inf.ed.ac.uk (8.14.4/8.14.4) with ESMTP id q4OAdthS019509; Thu, 24 May 2012 11:39:55 +0100
Received: (from ht@localhost) by calexico.inf.ed.ac.uk (8.14.4/8.14.4/Submit) id q4OAds3O019505; Thu, 24 May 2012 11:39:54 +0100
X-Authentication-Warning: calexico.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f
To: Mark Nottingham <mnot@mnot.net>
References: <832E3E94-723B-4DC9-A9D5-46EA7A7DB427@mnot.net>
From: ht@inf.ed.ac.uk
Date: Thu, 24 May 2012 11:39:54 +0100
In-Reply-To: <832E3E94-723B-4DC9-A9D5-46EA7A7DB427@mnot.net> (Mark Nottingham's message of "Thu, 24 May 2012 11:35:37 +1000")
Message-ID: <f5b7gw1zwud.fsf@calexico.inf.ed.ac.uk>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102
Cc: Apps Discuss <discuss@apps.ietf.org>
Subject: Re: [apps-discuss] Questions about Structured Syntax Suffixes (SSS)
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 24 May 2012 10:40:16 -0000

Mark Nottingham writes:

> Question: Is this actually useful in practice? I.e., what are the
> real-world use cases for SSS?
>
> We started this experiment with +xml, and I'm not aware of much
> software that uses that suffix to great advantage (please educate me
> if I'm overlooking something).

Good question!  I did a quick check, and the four browsers I looked at
did _not_ treat material served as application/foo+xml as XML (unless
its URI ended with ".xml").

So _currently_ (aside from application/html+xml, which is recognised
as a unit, not specifically as allowing generic XML processing because
of the '+xml') the suffix serves only, as you suggest, as
human-readable confirmation of expectations.

_But_ I think there is at least a potential upside going forward, in
that as we see both ...+xml and ...+json variants of particular types,
I _would_ expect software to dispatch on this information, rather than
sniffing.  Or, to turn that around, if we _don't_ support SSS, we are
in practice requiring applications to sniff.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]