Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sylvain Le Bon
    @sylvainlb
    with read and write to Agent
    Henry Story
    @bblfish
    try restarting rww-play. I think that works for edits, but not new file creation
    ( something to add to the issues list )
    Sylvain Le Bon
    @sylvainlb
    I think I did
    let me check
    I think I was getting a 404 before restarting
    yep, same thing
    Precondition required
    @reederz was mentionning an Etag issue
    Henry Story
    @bblfish
    Ah yes, if you want to PUT or PATCH you may need an etag
    I think of PATCH that makes sense because you don’t want to patch a document that is different from what you thought
    not sure if I don’t have an example on the curl wiki for etags
    if I don’t please add one :-)
    Sylvain Le Bon
    @sylvainlb
    So I need to add an etag header on the request?
    with what value?
    the server gave me Etag: "1423343866147|Success(0)"
    should I add Etag: "1423343866147"?
    Henry Story
    @bblfish
    I think it is something along the lines of If-Not-Modified: etag
    Sylvain Le Bon
    @sylvainlb
    oh ok
    I didn't know this one
    Henry Story
    @bblfish
    If-Match.
    Sylvain Le Bon
    @sylvainlb
    Etag: "1423343866147|Success(0)"
    the Success(0) looks weird to me
    is it supposed to be in the header?
    Henry Story
    @bblfish
    it’s a string
    Sylvain Le Bon
    @sylvainlb
    ok
    youhou, I got a 200 with the If-Match
    but I think the browser is supposed to handle this, I've no idea why it doesn't
    and it did replace my fie
    Henry Story
    @bblfish
    the browser does not work with PUT, PATCH
    Usually.
    Sylvain Le Bon
    @sylvainlb
    but we need them in that case?
    I need to learn more about how Etag works
    for some reason I can't get the merge working
    it says 200 but my file isn't changed
    <a> <b> "c" .
    that's my file before
    I do
    Host: localhost:8443
    User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
    Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Encoding: gzip, deflate
    Content-Type: application/sparql-update; charset=UTF-8
    If-Match: "1423399655472|Success(15)"
    Content-Length: 79
    Origin: null
    Connection: keep-alive
    INSERT DATA { GRAPH https://localhost:8443/2013/test.ttl { <a> <f> "c" .
    } }
    Henry Story
    @bblfish
    remove the graph.
    Sylvain Le Bon
    @sylvainlb
    ok it works if I remove the GRAPH part
    isn't it sparql update?
    Henry Story
    @bblfish
    yes, but here we only have simple graphs, not graphs within GRAPHS.
    Sylvain Le Bon
    @sylvainlb
    I see
    great!
    Henry Story
    @bblfish
    we could have that if we published NQuads
    but that’s another set of problems then