Hi all,

I'm trying to build a lightweight CRUD wrapper for LDP resources, and I'm
having a little trouble getting it to work well with Marmotta.

I'm able to create containers and resources without much trouble, but start
hitting HTTP 428 responses.  Presumably, Marmotta wants me to pass an ETag
to `If-Match`[1].  The problem I'm hitting is that the server doesn't
return an ETag on GET requests to many resources[2].

While it passes back the ETag on a successful POST, this leaves me needing
a persistent cache of resource URIs and their ETags. This is something I
would like to avoid.

Am I missing some way to get back an ETag for an existing resource, or does
this look like a bug?

I have posted a couple of GET examples on a Gist[3].  I'm happy to pass
along further documentation if needed.  Note, that using
`If-Unmodified-Since` also results in 428 errors.

Thanks!

[1] it would be useful if it passed back a meaningful message body as
recommended in http://tools.ietf.org/html/rfc6585#section-3

[2] it seems it does for containers, but not for RDF-Sources and NR-Sources

[3] https://gist.github.com/no-reply/1939bc67b69e171d1ceb

Reply via email to