On 04.04.2012 19:04, Henry Story wrote: > If I PUT foaf.ttl > should a GET foaf.rdf then succeed? There is no need. You should look to HTTP headers: If-Match, If-None-Match etc. These are the possible cases: 1. Creating: REQUEST PUT /users/123 HTTP/1.1 Host: www.example.com If-None-Match: "*" Content-Type: application/x-www-form-urlencoded Content-Length: nnn ... RESPONSE 201 OK HTTP/1.1 ... <html> ... <b>OK</b> ... <html> 2. Updateing: REQUEST PUT /users/123 HTTP/1.1 Host: www.example.com If-Match: "q1w1e2r3t4" Content-Type: application/x-www-form-urlencoded Content-Length: nnn ... RESPONSE 200 OK HTTP/1.1 ... <html> ... <b>OK</b> ... <html> Best regards, Dominik 'domel' TomaszukReceived on Wednesday, 4 April 2012 22:04:50 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:10:25 UTC