Re: [apps-discuss] Accept-Post HTTP header field

mike amundsen <mamund@yahoo.com> Fri, 09 May 2014 12:35 UTC

Return-Path: <mamund@yahoo.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 545301A0298 for <apps-discuss@ietfa.amsl.com>; Fri, 9 May 2014 05:35:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.828
X-Spam-Level:
X-Spam-Status: No, score=-0.828 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_36=0.6, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RFzYC8P4dMIq for <apps-discuss@ietfa.amsl.com>; Fri, 9 May 2014 05:35:26 -0700 (PDT)
Received: from nm24-vm9.bullet.mail.ir2.yahoo.com (nm24-vm9.bullet.mail.ir2.yahoo.com [212.82.97.33]) by ietfa.amsl.com (Postfix) with ESMTP id B20371A0297 for <apps-discuss@ietf.org>; Fri, 9 May 2014 05:35:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=gcom1024; t=1399638920; bh=iTsb2NCos74erFYTHxkyuSXlHYUcBZjfRjmy8Avib6c=; h=Received:Received:Received:X-Yahoo-Newman-Id:Received:DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Gm-Message-State:X-Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=FTmK9EHDjovrSYivtuS8G3H9Sk1biVoGcQVwCRanMXuk+L4D2weRobkxgBA0YR80gVTZ3Jal2uvTPz31SmgFCThNEsON4bIhhJKabtJYc4NELNN8hDdkf8LPIMtwdvPiANhSfLEcIfZuwvsQX3eBb16DICilvPx3LPoOZBc4X1A=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=gcom1024; d=yahoo.com; b=RropCRJ4T5VEEKjgP/HbOfgVIwxvSfTWTT2zeEvdU9cqrGnootYgz19xyCr3TjOF2nWypC51Uuhq73SGoFJqASeJkP1HEFSHvaoCB8Ap/Fnjrk3KK/2V/RSAzwseQDAmxA2gbXcFwQFrU3CCGTr7NA9L8rpVp/srO4beIGLFhRE=;
Received: from [212.82.98.127] by nm24.bullet.mail.ir2.yahoo.com with NNFMP; 09 May 2014 12:35:20 -0000
Received: from [212.82.98.66] by tm20.bullet.mail.ir2.yahoo.com with NNFMP; 09 May 2014 12:35:20 -0000
Received: from [127.0.0.1] by omp1003.mail.ir2.yahoo.com with NNFMP; 09 May 2014 12:35:20 -0000
X-Yahoo-Newman-Id: 7300.29074.bm@omp1003.mail.ir2.yahoo.com
Received: (qmail 39447 invoked from network); 9 May 2014 12:35:19 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1399638919; bh=iTsb2NCos74erFYTHxkyuSXlHYUcBZjfRjmy8Avib6c=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Gm-Message-State:X-Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=tANls/x28MrCMilmdAd1PbFP6ybvwVyT+/GWmxZiEJu2saeeU7so2qHg2NSY0iBt8kZ64LccDs9l45BTMAMkcZ0nF945CiSTbaciPRajEwkuabFWnMm9gyQHvYoRUY/hixMo5ckEwaVqDSLZgUMaEtLnGlxM8Jn8IUYglUydisM=
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: KtXc7G8VM1kqQX5IpNR6r_WJ2drRdVBKbhpuOA13b0.uNkq GNgHO6uY7g3QEaB2Kh7fTjRxqknvHaCKaEbXh3feUKMTFRe.xbKz6rs7cG33 yVRKat5SbeXZnA5dLlJ45ogRarHlr_OlnwJcoczCxnZBvH.uW2Su4MkZv00q aoyl4GS9yLHRkDHCIZOIjZnCRHrVRX32n3K9x7nKuy2s0IDjY.fi2QoNA6mu Y3Bb2AAq18TMXpGd05XuG8C3ZQIWK20ztT8VEaAu_LAeeGpX74q8Pov8wSbo 4kYv_yFDICQbjkiZkYhB9H0uO5j4vX74RiKmAgmKYYx98SSUFL.iGRIsUlBO MnUo9TW_vveWdY00a3GnWCvncPG82a_7DMYySBZ6z8x5CbkWpx0F3Mr_LrMU lkT5qEeFmX90mPSXtbVI2I2wl2J2tkAT7dcqxHbb5nbSCM495dPqaqlvkGFe 8d9Sizrr0hVmkdnKorg62bm9Vge8zTDgqr4OTFvJHo22IxGYSRUYja.bAIAi Pwj_XUIX89VaU0_8Pau1qSOikreCwcRtl5JhfHPi8O8f.0SaoJfuIuoL5bFY ht7AjfXiNEM9O6aS7c5qZvQpS9SNJkNvqi8TzP3PILFWO.iaoB0aNeqflNEj ogUlBIcW9a6BOCSEucMVZCZBucolpYBCrxf2IGiRq.5yB.JZ8QLawcSPTTWG QcbeGvDmOWM5ZFzDFKLijZ2yrvqc_pYaKasw.slfjBmPxgnQ8ex.wiKn5UUp dRY365_WQB8ywvwgLm9JeMy6.2y1jD5r6nmnbR8DNxiG4ss0GUQkg_Czp6y_ IepDWQRA6Lw1LpdtgjRuDMWSxDWpTtdvZsGw3ZPnU8Y3Ifc9SsQ--
X-Yahoo-SMTP: i12ABOmswBAkPG1PnjmsmmFRWA--
X-Rocket-Received: from mail-we0-f182.google.com (mamund@74.125.82.182 with plain [188.125.68.56]) by smtp107.mail.ir2.yahoo.com with SMTP; 09 May 2014 12:35:19 +0000 UTC
Received: by mail-we0-f182.google.com with SMTP id t60so3836433wes.41 for <apps-discuss@ietf.org>; Fri, 09 May 2014 05:35:18 -0700 (PDT)
X-Gm-Message-State: ALoCoQl7kdNfkzWRKg8HYmGF0zFjSiNE2KFgcJAfOM3CXg88tIKqyIvkZQYh9y+yGcmYLDYrZaED
X-Received: by 10.194.78.4 with SMTP id x4mr2178223wjw.58.1399638918858; Fri, 09 May 2014 05:35:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.79.169 with HTTP; Fri, 9 May 2014 05:34:58 -0700 (PDT)
In-Reply-To: <536CC4D2.4000709@gmx.de>
References: <53697AD6.2030504@berkeley.edu> <536CC4D2.4000709@gmx.de>
From: mike amundsen <mamund@yahoo.com>
Date: Fri, 09 May 2014 08:34:58 -0400
Message-ID: <CAPW_8m6QpW5ByqHL6cLe=tpZMc09KOc+mbdCnnaGMi-9=bACrg@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: multipart/alternative; boundary="047d7bfcf9149291d604f8f6d48a"
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/1yN_YRAFo9n0frpM959ZApX9SQQ
Cc: John Arwe <johnarwe@us.ibm.com>, Steve K Speicher <sspeiche@us.ibm.com>, "apps-discuss@ietf.org application-layer protocols" <apps-discuss@ietf.org>, Arnaud Le Hors <lehors@us.ibm.com>
Subject: Re: [apps-discuss] Accept-Post HTTP header field
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 09 May 2014 12:35:27 -0000

+1 on an "Acceptable" header to match "Allow" for OPTIONS and HTTP 406.

been doing something similar for quite a while (old blog post here:[1]).



[1] http://www.amundsen.com/blog/archives/716


mamund
+1.859.757.1449
skype: mca.amundsen
http://amundsen.com/blog/
http://twitter.com/mamund
https://github.com/mamund
http://linkedin.com/in/mamund


On Fri, May 9, 2014 at 8:06 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2014-05-07 02:14, Erik Wilde wrote:
>
>> hello.
>>
>> http://www.w3.org/TR/ldp/#header-accept-post (the "Linked Data
>> Platform") is a current W3C document in last call WD status, and it
>> introduces/uses the Accept-Post header field proposed in a current draft:
>>
>> http://tools.ietf.org/html/draft-wilde-accept-post
>>
>> we have publicized this proposed header field on this list, and the
>> latest draft also includes a list of known implementations of this
>> header field:
>>
>> http://tools.ietf.org/html/draft-wilde-accept-post-02#section-6
>>
>> after making the specification available for a while, and listing known
>> implementations, we are wondering about next steps. what it would take
>> to get this draft moving towards an experimental RFC (apart from some
>> references that will need to be updated).
>>
>> thanks a lot and kind regards,
>>
>> dret.
>>
>
> Editorial question:
>
>    The app:accept element is similar to the HTTP Accept request header
>    field [RFC2616].  Media type parameters are allowed within Accept-
>    Post, but Accept-Post has no notion of preference - "accept-params"
>    or "q" arguments, as specified in Section 14.1 of [RFC2616], are not
>    significant.
>
> What is "app:accept"?
>
> Furthermore: the fact that we'd have both Accept-Patch and Accept-Post
> kind of implies that maybe something more generic is needed.
>
> Wouldn't it make more sense to allow "Accept" as a response header field?
>
> Best regards, Julian
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>