On Wed, Jun 29, 2022 at 12:17 PM Carsten Bormann <[email protected]> wrote:

> On 29. Jun 2022, at 19:10, Andy Bierman <[email protected]> wrote:
> >
> > The sender and receiver need to agree on the encoding of each schema
> item.
> > There can be no guessing.  But maybe this is a protocol issue and can be
> addressed there.
>
> Yes.  E.g, the constrained-voucher spec could define a new media type,
> ZANG-data+CBOR, which is defined to be almost identical to YANG-data+CBOR,
> except that in a few places (small matter of defining this properly, e.g.,
> based on SIDs) the encoding deviates.
>
>
There will be more optimizations that will be added over time.
Would it be possible to use a media-type parameter to identify each of the
almost-identical variants?
I new media type for each variant seems like too much cut-and-paste.



> Grüße, Carsten
>

Andy
_______________________________________________
Anima mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/anima

Reply via email to