- From: Nandana Mihindukulasooriya <nmihindu@fi.upm.es>
- Date: Wed, 1 Oct 2014 11:36:21 +0200
- To: "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>
Received on Wednesday, 1 October 2014 09:37:06 UTC
Hi, The LDP spec says, [[ Per [RFC7231], this HTTP method is optional and this specification does not require LDP servers to support it. When a LDP server supports this method, this specification imposes no new requirements for LDPRs. ]] In other words, LDP doesn't restrict the behaviour of POST any more than what HTTP does. So if an application allows POST and if those POSTs happen to create something, technically it is not a violation of the LDP spec, is it? The reason for this clarification is that we have a test in the test suite that uses the POST-create pattern to check the interaction model by looking at whether a response to a POST on an LDPR contains a 201 code and a location header. [[ CommonContainerTest#testRequestedInteractionModelCreateNotAllowed Resources with interaction model of only ldp:Resources shouldn't allow container POST-create behavior. ]] Though this would work in most practical scenarios, IMHO the condition checked by this test is not imposed by the spec. WDYT? Best Regards, Nandana
Received on Wednesday, 1 October 2014 09:37:06 UTC