Re: JSON headers

On 2016-07-11 15:59, Poul-Henning Kamp wrote:
> --------
> In message <326f0b93-dbd5-3dfb-2a35-d1bf084684b4@gmx.de>, Julian Reschke writes
> :
>
>>> As I described previously:  It forces all headers to use a list-form,
>>> even when a key-value form is what they need.
>>
>> You can have a *list* of objects, and these objects can contain
>> key-value form.
>
> Yes, but you can't exploit the uniqueness of the object keys,
> as my example showed.

a) you still could (put the object into an array...), but

b) relying on the uniqueness is a problem anyway (due to how JSON works).

Best regards, Julian

Received on Monday, 11 July 2016 14:14:50 UTC