Re: CSP syntax

On 4 February 2011 20:27, Lucas Adamski <ladamski@mozilla.com> wrote:

> My specific concern with JSON is that its a data format that is simply a
> child of its environment: JavaScript.  Its purpose is to escape data in such
> a way as to be reliably transmitted within, and parse by, JavaScript.
> Neither of those hold true inside an HTTP header.
>
> Can you provide some specific examples where the JSON format is "better"
> (more compact, more expressive) than the current proposal?
>

Actually I changed my mind and suggested any format in uncompressed form and
then compiling into a smaller compressed form applied inside the http header
so now the actual format you write in doesn't matter as long as it compiles
into the compressed format.

Received on Friday, 4 February 2011 20:47:38 UTC