Il 04/04/2023 18:48, Andrew Newton ha scritto:
On Mon, Apr 3, 2023 at 3:18 PM Jasdip Singh <[email protected]> wrote:
Hi.
If the response size increase is not a concern when both jCard and JSContact
objects are returned for some time, it seems Andy’s proposal (option 3) is the
way to go. IMO, it keeps things simple without having to worry about which
query parameter to set on the client side. Additionally, a server could simply
send back a notice as to when jCard would be sunset from its side. As was
mentioned previously, agree that a server couldn’t definitively measure when
the client demand for jCard goes to zero by looking at the proposed query
parameters. Instead, the server would decide unilaterally with sufficient
forewarning to clients.
(replying to Jasdip just because this is a good place to do it)...
There is one other issue with the query parameters in that they won't
survive redirects. This is the issue with attempting to encode client
capabilities into URIs. If we want to encode a client's capabilities
(e.g. this client supports JSContact), then that should go into an
HTTP header. Now, this is a general RDAP issue and not specific to
this draft, but I think this is another reason why the draft should
drop the query parameters.
-andy
ps.
Having done a little looking about using HTTP headers for client
capabilities, one tried and true method would be to use a media type
in the accepts header that supports parameters. Here's an example:
https://www.iana.org/assignments/media-types/application/ld+json
[ML] Sorry for the delay in replying and thanks for this.
Really there are some documents under discussion that would be
eventually affected.
But I wonder where it's stated that query parameters should/must not be
preserved in redirections.
Do you refer to a generally adopted practice or to an IETF document ?
I took a look at RFC 9110 and didn't find specific statements about that.
Best,
Mario
_______________________________________________
regext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/regext
--
Dott. Mario Loffredo
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web: http://www.iit.cnr.it/mario.loffredo
_______________________________________________
regext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/regext