POSTing RDF to LDPC without null URIs

Hello,

I have a query regarding LDP behaviour in the case of POSTing against a
container. Let us assume "http://example.com/c1" is a container, and I POST
the following turtle document:

@prefix <http://example.com>
<dog> a <Animal> .
<cat> a <Animal> .

The specification says that for null relative URIs the server returns a
'Location' header with a newly created resource. It does not appear to be
obvious what the behaviour should be in the case of the above example -
where there are no null URIs.

>From the draft recommendation:

"5.2.3.1 LDP clients should create member resources by submitting a
representation as the entity body of the HTTP POST to a known LDPC. If the
resource was created successfully, LDP servers must respond with status
code 201 (Created) and the Location header set to the new resource’s URL.
Clients shall not expect any representation in the response entity body on
a 201 (Created) response."

Does that only apply to LDP clients?

Some guidance would be appreciated.

Thank you,
Andreea State

Received on Wednesday, 7 January 2015 10:07:48 UTC