How to correctly specify JSON-LD flavor in Accept and Content-Type headers?

Hi,

If a service supports multiple media types and client wants to receive
response as JSON-LD, then AFAIK should include Accept header with a value
of "application/ld+json".And the service should set this values in
Content-Type header.

But how to specify that client wants JSON-LD compacted or expanded? And
should the service specify it in the Content-Type?

Thanks in advance

Vagif

Received on Tuesday, 28 October 2014 14:17:36 UTC