More info in the result of a POST?

Hi,

  the result of a POST is currently according to the spec § 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.

I was wondering if it would make sense for the client to also send back
all the headers as well, such as 

Access-Control-Allow-Origin: *
Allow: OPTIONS, GET, HEAD, POST, SEARCH, PATCH
Accept-Patch: application/sparql-update
ETag: "1417390950000|Success(922)"
Last-Modified: Sun, 1 April 2015 23:42:30 GMT
This would allow the client to immediately know what further operations it could do on the newly created resource. 



Henry

Social Web Architect
http://bblfish.net/

Received on Sunday, 3 May 2015 10:04:54 UTC