On Thu, Apr 24, 2025 at 04:41:20PM +0200, Petr Špaček <[email protected]> wrote a message of 53 lines which said:
> > Servers which don't support this specification might use plain > > text in the EXTRA-TEXT field. Requestors SHOULD properly handle > > both plaintext and JSON text in the EXTRA-TEXT field. The > > requestor verifies that the field contains valid JSON. > > There is no indication in the response if an answer contains > structured EDE or not. The client has to guess! The way I read the draft, the algorithm is: * parse as JSON. If it fails, treat as unstructured text, * check the mandatory fields. If they are absent, treat as unstructured text, * otherwise, use it as structured error. _______________________________________________ DNSOP mailing list -- [email protected] To unsubscribe send an email to [email protected]
