Re: [ietf-types] Request for review application/gml+xml

Jan Algermissen <jan.algermissen@nordsc.com> Wed, 11 January 2012 16:51 UTC

Return-Path: <jan.algermissen@nordsc.com>
X-Original-To: ietf-types@ietfa.amsl.com
Delivered-To: ietf-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D95A821F8613 for <ietf-types@ietfa.amsl.com>; Wed, 11 Jan 2012 08:51:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.733
X-Spam-Level:
X-Spam-Status: No, score=-0.733 tagged_above=-999 required=5 tests=[AWL=-1.517, BAYES_40=-0.185, HELO_EQ_DE=0.35, RCVD_IN_SORBS_WEB=0.619]
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 RXofjcEAY477 for <ietf-types@ietfa.amsl.com>; Wed, 11 Jan 2012 08:51:20 -0800 (PST)
Received: from pechora6.dc.icann.org (unknown [IPv6:2620:0:2830:201::1:72]) by ietfa.amsl.com (Postfix) with ESMTP id 742A721F860D for <ietf-types@ietf.org>; Wed, 11 Jan 2012 08:51:19 -0800 (PST)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by pechora6.dc.icann.org (8.13.8/8.13.8) with ESMTP id q0BGowKI004350 for <ietf-types@iana.org>; Wed, 11 Jan 2012 11:51:18 -0500
Received: from [10.34.240.205] (tmo-111-77.customers.d1-online.com [80.187.111.77]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MYrDT-1SG71V34d9-00VXzk; Wed, 11 Jan 2012 17:50:55 +0100
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: Jan Algermissen <jan.algermissen@nordsc.com>
In-Reply-To: <4F0D5A60.10806@gmx.de>
Date: Wed, 11 Jan 2012 17:50:48 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <859C71A7-C655-4612-A004-E4BC10546BC9@nordsc.com>
References: <F59F4E2122554F5793C0C7E325D01856@OfficeHP> <61DA936B-79AE-480E-B77A-2415DC18DB08@nordsc.com> <4F0D4A94.407@gmx.de> <BC5008BD-44A0-4838-BE50-540D51088FDF@nordsc.com> <4F0D5A60.10806@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1084)
X-Provags-ID: V02:K0:kwad+9Zrk2bO3BmilPXkZx/cL+B28PEPbh1OMIKMk2z PIi4LdfPWHklVsML+0m1iYeVY1vq8qasuWy5mbOOtGxxiDvblk vuHW93zoUsmcWAg2hsTRrXhUFc6pX3rJEoLm36h44LHjdI/iYj VbcN1itwOsHBthSLLYuLbISyuA0NMkEy7PZ0zthY1hPBPXOvaL Qi7/936FC0qW//jyX2hIOMyi0nb4+9mvlKkx6IU1cYNdRlb6Ms 9FaIK2LMJDpeYImTdb27NiAZ/uTNwjEkYtWMaReHDuh+LeYJdP tKMxozTTQ2N5jkhVWhv/li5Q9aYw5ttDrzyyo/abDo+t9pL2SJ 5+xOX/xls/V97W6FTEcjWyLcd1/wFXRNxrWj+RQdVXZfD1vDhI 6dFCj46fCXy0w==
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (pechora6.dc.icann.org [192.0.46.72]); Wed, 11 Jan 2012 11:51:18 -0500 (EST)
Cc: ietf-types@iana.org, Carl Reed <creed@opengeospatial.org>
Subject: Re: [ietf-types] Request for review application/gml+xml
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2012 16:51:25 -0000

On Jan 11, 2012, at 10:46 AM, Julian Reschke wrote:

> On 2012-01-11 10:22, Jan Algermissen wrote:
>> 
>> On Jan 11, 2012, at 9:38 AM, Julian Reschke wrote:
>> 
>>> On 2012-01-11 08:05, Jan Algermissen wrote:
>>>> Carl,
>>>> 
>>>> On Jan 11, 2012, at 2:54 AM, Carl Reed wrote:
>>>> 
>>>>> "version": If provided, this parameter indicates the GML version
>>>>>    used in the GML document. Only the major and the first minor
>>>>>    version number are provided, e.g. "3.2".
>>>>> 
>>>>>    The value may be provided with or without quotes. i.e.,
>>>>>    application/gml+xml; version=3.1 shall be treated as identical to
>>>>>    application/gml+xml; version="3.1".
>>>>> 
>>>>>    In cases where elements from multiple GML versions are used,
>>>>>    the parameter shall indicate the highest GML version used in the
>>>>>    document.
>>>>> 
>>>>>    The parameter can be used to provide protocol-specific operations,
>>>>>    such as version-based content negotiation in HTTP
>>>> 
>>>> I cannot find the reference just now, but if I am not seriously wrong, media type parameters are not taken into account by HTTP conneg. (How could they, given that their meaning is defined by the media type itself except for q and charset et al.
>>>> ...
>>> 
>>> Why would that be a problem?
>> 
>> I think that the correct way of implementing conneg is to strip all media type specific parameters before matching (otherwise the code would need to be aware of the media type specific parameters).
> 
> But that's not what is specified in HTTP.

Can you point me to that part of the spec? I saw the 'format' example in your reference to media type ranges, but I cannot (personally) read that the way you seem to do.

> 
>> The proposed text above suggests that the version parameter would be recognized by such implementations - which it would not. I.e.
>> 
>> Accept: application/gml+xml; version=3.1
>> 
>> would maybe yield
>> 
>> Content-Type: application/gml+xml; version=1.2
> 
> I think that would be a bug according to the HTTP spec.

Doh, I am shocked - if you are right then I have lived with a very clouded spot of HTTP in my brain for years.

So you are saying, if there are parameters (besides q) that do not *exactly* match conneg should say 'Not Acceptable'?

IOW, this would also not be correct:

Accept: application/gml+xml; version=3.1

Content-Type: application/gml+xml; version=3.5

And also this would be incorrect:

Accept: application/atom+xml;type=entry

Content-Type: application/atom+xml

Or am I misunderstanding you?

Jan



> 
>> ...
> 
> Best regards, Julian