Registration Request for the respond-for HTTP preference

irakli <irakli@gmail.com> Mon, 08 June 2020 04:54 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 4E2803A0477 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 7 Jun 2020 21:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.647
X-Spam-Level:
X-Spam-Status: No, score=-1.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 maV7Eoy45Md3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 7 Jun 2020 21:54:05 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C33873A0484 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 7 Jun 2020 21:54:05 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ji9kz-0000Og-5P for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Jun 2020 04:51:33 +0000
Resent-Message-Id: <E1ji9kz-0000Og-5P@lyra.w3.org>
Received: from www-data by lyra.w3.org with local (Exim 4.92) (envelope-from <ylafon@w3.org>) id 1ji9kx-0000Np-7X for ietf-http-wg@listhub.w3.org; Mon, 08 Jun 2020 04:51:31 +0000
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ylafon@w3.org>) id 1ji31i-00019R-5t for ietf-http-wg@listhub.w3.org; Sun, 07 Jun 2020 21:40:22 +0000
Received: from raoul.w3.org ([128.30.52.128]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ylafon@w3.org>) id 1ji31g-0001E2-Ll for ietf-http-wg@w3.org; Sun, 07 Jun 2020 21:40:22 +0000
Received: from homard.platy.net ([80.67.176.7] helo=[192.168.1.129]) by raoul.w3.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ylafon@w3.org>) id 1ji31g-0003eg-8C for ietf-http-wg@w3.org; Sun, 07 Jun 2020 21:40:20 +0000
Content-Type: multipart/alternative; boundary="Apple-Mail=_6160A3A8-DEF3-42D2-8485-9ECC9D09EE75"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: irakli <irakli@gmail.com>
Resent-From: Yves Lafon <ylafon@w3.org>
Date: Tue, 28 Apr 2020 02:06:31 +0000
Resent-Date: Sun, 07 Jun 2020 23:40:17 +0200
Resent-To: ietf-http-wg@w3.org
Message-Id: <CACTPbXPJBbpH97-gcaV7waWARXUfP4nXB_zZqvRakVZP-uEZgg@mail.gmail.com>
X-Name-Md5: efe3dad792d606410c9cc49cedaffc94
To: ietf-http-wg@w3.org
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-W3C-Hub-Spam-Status: No, score=0.3
X-W3C-Hub-Spam-Report: ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, W3C_NW=1
X-W3C-Scan-Sig: mimas.w3.org 1ji31g-0001E2-Ll 73986d04fa022062b0e54c483b2a00a0
X-caa-id: 210b9fa691
X-Original-To: ietf-http-wg@w3.org
Subject: Registration Request for the respond-for HTTP preference
Archived-At: <https://www.w3.org/mid/CACTPbXPJBbpH97-gcaV7waWARXUfP4nXB_zZqvRakVZP-uEZgg@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37729
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>


   o  Preference: respond-for

   o  Value: any alpha-numeric value. Dashes are also allowed.

   o  Optional Parameters: None

   o  Description: Expanded version of the "return" preference that 
allows clients to hint to the server the use-case for the response.
This allows batching response variations by common use-cases. The goal
is similar to GraphQL: letting client choose which data it needs, but
is significantly more light-weight and can allow all that client needs
in a very wide variety of cases, without resorting to heavier and 
potentially riskier GraphQL approach. For instance, for a blog post
a client may request "respond-for: teaser" or "respond-for: full-post"  

   o  Reference: https://www.freshblurbs.com/blog/2015/06/25/api-representations-prefer.html <https://www.freshblurbs.com/blog/2015/06/25/api-representations-prefer.html>

   o  Notes: We have used this approach successfully at a number of 
companies over the years but would like to standardize the preference
rather than using an unregistered preference, or using the "return" 
preference with values that are non-standard.


Thank you!

Irakli Nadareishvili