Closed ndushay closed 9 years ago
See also #20 and #36 and #121
And (as discussed) accept in Content-Type for POST/PUT. Should definitely not be part of path or params, as this is the same resource just a different representation.
@azaroth42 says " You might get other URIs too I guess, and while F4 might deal with that we could reject them (at least for now) for Triannon"
@azaroth42 says put your finger on your nose!
[x] OA dated context url in Accept for jsonld
[x] OA generic context url in Accept for jsonld
[x] IIIF context url in Accept for jsonld
[x] context specified for non jsonld (test that it is ignored)
[x] json profile specified incorrectly (3 context urls) - be nice and accept it
[x] json format (3 mime types possible) + Link (3 context urls possible) + optional type
in all three flavors (per http://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld) type=blah is optional in Link header (refers to type of context doc) the context url should be included in a plain json doc returned
- [ ] and NOT part of the path or params (i.e. remove this code and tests)For: