Clarifying POST behavior for LDPCs.

Hi all,

I'm getting really close to having a working implementation on RWW.IO [1].
However, I found that the spec section that describes POST behavior for
LDPCs lacks some details. More precisely, how should an LDP client create
containers within a container (details below).

>From section 6.4.5., we see that LDP servers that successfully create a
resource from a RDF representation in the request entity body must honor
the client's requested interaction model(s). More precisely, if the request
header specifies an LDPC interaction model, then the server must create an
LDPC.

The link to the interaction model points to section 6.2.8, which deals with
GET requests -- exposing the Link header with rel=type. At this point, one
can only assume that the same Link header must be present during a POST,
since there is no mention in the spec about it.

My suggestion would be to either add an example in section 6.4., or
explicitly mention that LDPRs and LDPCs can be created based on the Link
href value present in the POST request headers (either ldp:Resource or
ldp:Container).

Best,
Andrei

[1] https://www.w3.org/wiki/LDP_Implementations#RWW.IO

Received on Wednesday, 12 February 2014 18:19:11 UTC