Re: structured headers "why not JSON" FAQ

> On 13 Jun 2018, at 6:33 pm, Julian Reschke <> wrote:
> On 2018-06-13 10:01, Mark Nottingham wrote:
>> ...
>>> Please elaborate. What are the difficulties, and how is this different in structured headers?
>> How can you use ABNF to define the allowable structures in JFV? See the editors' draft of SH for an example there (a work in progress).
> Precisely which part?

>>>>    Need to encode JSON to appear in HTTP headers, thereby making it not-JSON
>>> Not true.
>> I'll change this to "Need to process JSON to assure that characters are escaped in a manner that's appropriate for HTTP headers."
> Either that, or use a serializer where the encoding (and whitespace handling) can be configured.
> <>

See more recent revision.


Mark Nottingham

Received on Wednesday, 13 June 2018 08:38:34 UTC