W3C home > Mailing lists > Public > public-linked-json@w3.org > March 2015

Context Link Header on PUT/POST?

From: Robert Sanderson <azaroth42@gmail.com>
Date: Thu, 5 Mar 2015 14:34:58 -0800
Message-ID: <CABevsUH=AeekHia=vtXOjD9UrjbDsd==WYu+mDbth1XRY+8zMA@mail.gmail.com>
To: Linked JSON <public-linked-json@w3.org>
Cc: Naomi Dushay <ndushay@stanford.edu>, Chris Beer <cabeer@stanford.edu>
Dear all,

The specification is clear about the use of a link header to provide a
context for JSON to upgrade to JSON-LD when a document is being retrieved

Can, and if so should, this pattern also be available when accepting
*requests* via PUT, POST or PATCH where the entity body's content-type is
specified to be application/json?  In other words, should a well-behaved
application also look for a link header on requests giving a context,
rather than assuming it will be in the JSON itself?

My assumption is Yes, but it would be nice to hear if that is the group
consensus :)

Many thanks,


Rob Sanderson
Information Standards Advocate
Digital Library Systems and Services
Stanford, CA 94305
Received on Thursday, 5 March 2015 22:35:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:44 UTC