Re: [regext] Robert Wilton's No Objection on draft-ietf-regext-rdap-partial-response-13: (with COMMENT)

Mario Loffredo <mario.loffredo@iit.cnr.it> Tue, 08 September 2020 14:13 UTC

Return-Path: <mario.loffredo@iit.cnr.it>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CFB23A13CD; Tue, 8 Sep 2020 07:13:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.847
X-Spam-Level:
X-Spam-Status: No, score=-2.847 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.948, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 tyLhYPqF0qAN; Tue, 8 Sep 2020 07:12:58 -0700 (PDT)
Received: from smtp.iit.cnr.it (mx4.iit.cnr.it [146.48.98.151]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7236F3A141F; Tue, 8 Sep 2020 07:12:55 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp.iit.cnr.it (Postfix) with ESMTP id 209FAB803F8; Tue, 8 Sep 2020 16:12:53 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mx4.iit.cnr.it
Received: from smtp.iit.cnr.it ([127.0.0.1]) by localhost (mx4.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hKhxbMV68gRN; Tue, 8 Sep 2020 16:12:50 +0200 (CEST)
Received: from [192.12.193.108] (pc-loffredo.nic.it [192.12.193.108]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by smtp.iit.cnr.it (Postfix) with ESMTPSA id E8CE1B803F2; Tue, 8 Sep 2020 16:12:49 +0200 (CEST)
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, The IESG <iesg@ietf.org>
Cc: "draft-ietf-regext-rdap-partial-response@ietf.org" <draft-ietf-regext-rdap-partial-response@ietf.org>, "regext-chairs@ietf.org" <regext-chairs@ietf.org>, "regext@ietf.org" <regext@ietf.org>, Jasdip Singh <jasdips@arin.net>
References: <159948890998.26263.2107304371638101428@ietfa.amsl.com> <d3253ffe-5cce-3ecc-767c-1147af748d7f@iit.cnr.it> <MN2PR11MB43666BDDC689925AA3B5709CB5290@MN2PR11MB4366.namprd11.prod.outlook.com>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
Message-ID: <3b049574-f666-944b-e02b-1f5a2af17061@iit.cnr.it>
Date: Tue, 08 Sep 2020 16:09:36 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <MN2PR11MB43666BDDC689925AA3B5709CB5290@MN2PR11MB4366.namprd11.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: it
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/RCvXjRRetQHw19cDbsgHdJZxtwM>
Subject: Re: [regext] Robert Wilton's No Objection on draft-ietf-regext-rdap-partial-response-13: (with COMMENT)
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2020 14:13:08 -0000

Hi Robert,

please find my comments below.

Il 08/09/2020 12:05, Rob Wilton (rwilton) ha scritto:
> Hi Mario,
>
> Please see inline ...
>
>> -----Original Message-----
>> From: iesg <iesg-bounces@ietf.org> On Behalf Of Mario Loffredo
>> Sent: 07 September 2020 18:04
>> To: Rob Wilton (rwilton) <rwilton@cisco.com>; The IESG <iesg@ietf.org>
>> Cc: draft-ietf-regext-rdap-partial-response@ietf.org; regext-
>> chairs@ietf.org; regext@ietf.org; Jasdip Singh <jasdips@arin.net>
>> Subject: Re: Robert Wilton's No Objection on draft-ietf-regext-rdap-
>> partial-response-13: (with COMMENT)
>>
>> Hi Robert,
>>
>> thanks a lot for your review. Please find my comments inline.
>>
>> Il 07/09/2020 16:28, Robert Wilton via Datatracker ha scritto:
>>> Robert Wilton has entered the following ballot position for
>>> draft-ietf-regext-rdap-partial-response-13: No Objection
>>>
>>> When responding, please keep the subject line intact and reply to all
>>> email addresses included in the To and CC lines. (Feel free to cut this
>>> introductory paragraph, however.)
>>>
>>>
>>> Please refer to https://www.ietf.org/iesg/statement/discuss-
>> criteria.html
>>> for more information about IESG DISCUSS and COMMENT positions.
>>>
>>>
>>> The document, along with other ballot positions, can be found here:
>>> https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-partial-
>> response/
>>>
>>>
>>> ----------------------------------------------------------------------
>>> COMMENT:
>>> ----------------------------------------------------------------------
>>>
>>> Hi,
>>>
>>> Thank you for this document.  I have two minor comments:
>>>
>>> 2.1.2.  Representing Subsetting Links
>>>
>>>              "value": "https://example.com/rdap/domains?name=*nr.com
>>>                        &fieldSet=afieldset",
>>>
>>> Should "afieldset" be "anotherfieldset"?
>> [ML] In web linking (RFC8288), the "value" field contains the context
>> URI and the "target" field contains the target URI in a given relation
>> with the context URI.
>>
>> In Figure 2, the context URI is the current view of the results provided
>> according to the current field set (i.e. "afieldset") while the target
>> URI is an alternative view provided according another field set (i.e.
>> "anotherieldset")
> [RW]
>
> Ah, yes.  Thanks for the clarification/explanation.
>
>
>>> 5.  Negative Answers
>>>
>>>      Each request including an empty or unsupported "fieldSet" value MUST
>>>      produce an HTTP 400 (Bad Request) response code.  Optionally, the
>>>      response MAY include additional information regarding the negative
>>>      answer in the HTTP entity body.
>>>
>>> Given the solution suggests that subsetting metadata may be included in
>>> positive responses, it might be helpful to also include similar metadata
>> in
>>> negative responses.  I.e. rather than just stating that a fieldSet is
>> invalid,
>>> perhaps there should be a recommendation that the response include the
>> list of
>>> possible valid values that fieldSet may take?
>> [ML] I think this pertains to the server policy. RDAP (RFC7483) allows
>> producers to provide consumers with additional information in error
>> responses through "notices" and "notices" can include "links".
> [RW]
>
> Yes, I agree that server policy may want to restrict what information is returned on the error case.
>
>
>> Definitively, I would keep the fully compliance with the error response
>> structure defined in RFC7483.
> [RW]
>
> Okay.  I agree that having the structure conform to RFC7843 makes sense.
>
> I was sort of thinking of something more like section 6 from RFC 7483.  E.g., the text could provide an example error response something like:
>
>     {
>       "errorCode": 400,
>       "title": "FieldSet 'unknown-fieldset' is not a valid FieldSet"
>       "description":
>       [
>         "Supported FieldSet values are 'a-valid-fieldset' and 'another-valid-fieldset'."
>       ]
>     }
>
> Probably this should only be returned if the request was otherwise valid.
>
> And, I agree that the server could also choose to return valid links as part of notices.
>
> Do you think that it would be helpful for the document to elaborate beyond "Optionally, the response MAY include additional information regarding the negative answer in the HTTP entity body."?

OK. I would write:

"Optionally, the response MAY include additional information regarding the supported fieldSet values in the HTTP entity body."

Besides, I can include something similar to your example as  an example 
error response.

Does it works for you?

Cheers,

Mario

>
> Regards,
> Rob
>
>
>>
>> Looking forward to your reply to my comments.
>>
>> Best,
>>
>> Mario
>>
>>> Regards,
>>> Rob
>>>
>>>
>>>
>> --
>> Dr. Mario Loffredo
>> Systems and Technological Development Unit
>> Institute of Informatics and Telematics (IIT)
>> National Research Council (CNR)
>> via G. Moruzzi 1, I-56124 PISA, Italy
>> Phone: +39.0503153497
>> Mobile: +39.3462122240
>> Web: http://www.iit.cnr.it/mario.loffredo

-- 
Dr. Mario Loffredo
Systems and Technological Development Unit
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Mobile: +39.3462122240
Web: http://www.iit.cnr.it/mario.loffredo