Hi Tom,

thanks for you report!

>From your gist [1] I see you are using Marmotta 3.2.1 where the LDP
implementation was still very fresh and also the spec changed in the
meantime.

I tried to reproduce your errors with the current development snapshot
and got ETag headers on all requests. Please try again with the
current development version (or wait for the 3.3.0 release which is
targeted for next week)

Best,
Jakob

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

On 5 November 2014 23:15, Tom Johnson <[email protected]> wrote:
> 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