For constrained devices and networks it is very important to minimize the payload sizes where possible, so I think the RD SHOULD in this case return the most efficient form possible by leaving out the anchor parameter per link where this is unnecessary to include.
And similar changes to be made for other examples.
Also I'd like to note that including the anchor additionally with the same information seems strange, given that the "hosts" relation type was defined as it is to get rid of the anchor in most cases - serving the needs of constrained systems.
The text was updated successfully, but these errors were encountered:
Result of the last interim's discussion was that yes we can go ahead with this (after checking through the implementations list again and making the adequate changes to the text).
I'm holding off the other "examples" fixes (#293, #286, #284, #283) for then to keep the diffs more readable.
… requirement
This came from the "anchor sets the base URI for the rest"
interpretation that is rejected as per the changelog entries and [281].
[281]: #281
In many examples, the "anchor" attribute is included if the target URI of the link is an absolute URI. For example like below:
Here the anchor is not needed because the origin of the target URI already specifies the context/anchor; per RFC 6690 https://tools.ietf.org/html/rfc6690#section-2.1 rule (b) .
For constrained devices and networks it is very important to minimize the payload sizes where possible, so I think the RD SHOULD in this case return the most efficient form possible by leaving out the anchor parameter per link where this is unnecessary to include.
New proposed text of above example:
And similar changes to be made for other examples.
Also I'd like to note that including the anchor additionally with the same information seems strange, given that the "hosts" relation type was defined as it is to get rid of the anchor in most cases - serving the needs of constrained systems.
The text was updated successfully, but these errors were encountered: