Re: [Netconf] Opinion poll on RESTCONF encoding

Kent Watsen <kwatsen@juniper.net> Thu, 27 August 2015 15:43 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 716321A6FDB for <netconf@ietfa.amsl.com>; Thu, 27 Aug 2015 08:43:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 GE5tPtOGB0Ld for <netconf@ietfa.amsl.com>; Thu, 27 Aug 2015 08:43:16 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0781.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::781]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AEDD1A8ACD for <netconf@ietf.org>; Thu, 27 Aug 2015 08:43:15 -0700 (PDT)
Received: from CO1PR05MB458.namprd05.prod.outlook.com (10.141.72.140) by CO1PR05MB459.namprd05.prod.outlook.com (10.141.72.146) with Microsoft SMTP Server (TLS) id 15.1.256.15; Thu, 27 Aug 2015 15:43:11 +0000
Received: from CO1PR05MB458.namprd05.prod.outlook.com ([169.254.10.27]) by CO1PR05MB458.namprd05.prod.outlook.com ([169.254.10.27]) with mapi id 15.01.0256.013; Thu, 27 Aug 2015 15:43:11 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [Netconf] Opinion poll on RESTCONF encoding
Thread-Index: AQHQ4Fu1VDdK2ycC2UOA3lddVeqi4J4e/HeA///RngCAAIMlgIAAaSOA
Date: Thu, 27 Aug 2015 15:43:11 +0000
Message-ID: <D204A742.D3B4B%kwatsen@juniper.net>
References: <1232641A-BE91-4AAD-962D-779E4D85403A@gmail.com> <CABCOCHRkmHw0oy8-AYyin+YaE8-2aS5fjwAmggx_FUOzd1rg5A@mail.gmail.com> <D203D804.D372C%kwatsen@juniper.net> <20150827052649.GA87193@elstar.local>
In-Reply-To: <20150827052649.GA87193@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.4.140807
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.239.13]
x-microsoft-exchange-diagnostics: 1; CO1PR05MB459; 5:8d3cCbGaxPy6C7HdQ/PzqIqIB5VcvXJtW15USDBwy4yc2lDAnfIrgiHdimBimTAKubCJQA+aVLl9Jc38M8WkR8qmH9WW6+bPnTLDDV58MMTvK3upUQjChJjlRqALDrXFd4bidc/M7rZ+F3tKSWay0g==; 24:P/8wGkBjl84/AO1DA/QJ5I4WiCRa63ER+l40r6jguhQjohltMcRIjj8CRf3/vaOk4L4SrcB7QMnd+oHrUaA7OploTb7sYapKIeYMa0It1Fk=; 20:mqL7FoIEB20v27O4CZ7qJ7DMJAd5MjHCgsE3hL+84U4H6Nakreyxb5tah8U4F0VJochVCvDl+jN+jnmMoBK8Tw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO1PR05MB459;
x-microsoft-antispam-prvs: <CO1PR05MB4595998AD96044DC1F7A588A56F0@CO1PR05MB459.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:CO1PR05MB459; BCL:0; PCL:0; RULEID:; SRVR:CO1PR05MB459;
x-forefront-prvs: 06818431B9
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(189002)(479174004)(24454002)(199003)(102836002)(10400500002)(36756003)(86362001)(66066001)(40100003)(64706001)(122556002)(81156007)(4001350100001)(68736005)(5002640100001)(97736004)(19580405001)(87936001)(77156002)(2656002)(5004730100002)(5007970100001)(62966003)(4001540100001)(19580395003)(50986999)(2950100001)(101416001)(2900100001)(110136002)(5001830100001)(5001860100001)(189998001)(5001920100001)(46102003)(5001960100002)(93886004)(83506001)(92566002)(106116001)(99286002)(105586002)(106356001)(54356999)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR05MB459; H:CO1PR05MB458.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-ID: <127EB2DFA25DBD4CB5415F37D410537B@namprd05.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2015 15:43:11.0476 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR05MB459
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/WqqmTfwua88gZdY3JaukLkbS1p0>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Opinion poll on RESTCONF encoding
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2015 15:43:18 -0000


On 8/27/15, 1:26 AM, "Juergen Schoenwaelder"
<j.schoenwaelder@jacobs-university.de> wrote:

>On Thu, Aug 27, 2015 at 01:37:30AM +0000, Kent Watsen wrote:
>> 
>>   If no Accept header is present, or if none of the passed Accept
>>   header media types are supported for the given resource, the
>>   RESTCONF server MUST generate a payload containing a list of
>>   available representation characteristics and corresponding
>>   resource identifiers from which the user or user agent can
>>   choose the one most appropriate.
>> 
>> This is slightly stricter than the wording in RFC 7231, Section 6.5.6.
>>
>
>-1 (since I do not think this is how HTTP generally works)


Which part?  - how to handle the case when no Accept header is passed, how
to handle when no passed Accept type is supported, or the s/SHOULD/MUST/?

Kent