W3C home > Mailing lists > Public > www-archive@w3.org > August 2010

Re: data wiki -- sends entire contents back in resonse to POST update.

From: Joe Presbrey <presbrey@MIT.EDU>
Date: Sat, 07 Aug 2010 03:14:49 -0400
Message-ID: <4C5D07E9.6000806@mit.edu>
To: Tim Berners-Lee <timbl@w3.org>
CC: Ericp@w3.org, www-archive@w3.org
Lets not send back anything for now.

Index: __post.py
===================================================================
--- __post.py   (revision 29505)
+++ __post.py   (revision 29511)
@@ -40,7 +40,8 @@
      file(abs_path+'.n3', 'w').write(r)

      start_response('200 OK', [('Content-Type', 'text/n3')])
-    return r
+    #return r
+    return ''

  if __name__ == '__main__':
      WSGIServer(handler).run()

Tim Berners-Lee wrote:
> To scale, it can't return the body full of the data in the file, when it hasn't been asked for by GET.
> 
> Tim
> 
> 
> SPARQL update ready state for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> readyState=1
> INSERT { <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <undefined>  . }
> 
> SPARQL update ready state for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> readyState=1
> INSERT { <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <undefined>  . }
> 
> SPARQL update ready state for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> readyState=2
> INSERT { <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <undefined>  . }
> 
> SPARQL update ready state for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> readyState=3
> INSERT { <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <undefined>  . }
> 
> SPARQL update ready state for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> readyState=3
> INSERT { <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <undefined>  . }
> 
> SPARQL update ready state for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> readyState=4
> INSERT { <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <undefined>  . }
> 
> SPARQL update complete for <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state> status=200, text=<http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/2005/01/wf/flow#tracker> <http://dig.csail.mit.edu/2010/issues/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "sdajhkghs dkjhfjkhjkasdfhk jhkasdf" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/2005/01/wf/flow#state> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "A second tabulator issue: T readystate=4 doesn't happen for tim on sparql update" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "Issue of 15:16" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "Issue of 15:24" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "lksdajflsdf" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "15:43 and counting" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "why does it hang?" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "hahahaha" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "how do these show up?" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "tim 16:26" .
> <https://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/2005/01/wf/flow#tracker> <http://dig.csail.mit.edu/2010/issues/track#TabTracker> .
> <https://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "16:44 HTTPS with cert" .
> <https://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/2005/01/wf/flow#state> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "19:44 " .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "Test Issue: Add triple is reflected on server, but not in local cache" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281139910424> <http://www.w3.org/2005/01/wf/flow#tracker> <http://dig.csail.mit.edu/2010/issues/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281139910424> <http://purl.org/dc/elements/1.1/title> "20:11 testing again" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281139910424> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "Test Issue: added triple isnt always reflected in the local cache, but appears in the server side after the sparul is sent" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140124451> <http://www.w3.org/2005/01/wf/flow#tracker> <http://dig.csail.mit.edu/2010/issues/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140124451> <http://purl.org/dc/elements/1.1/title> "20:15 This should gets own URI" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140124451> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140773914> <http://www.w3.org/2005/01/wf/flow#tracker> <http://dig.csail.mit.edu/2010/issues/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140773914> <http://purl.org/dc/elements/1.1/title> "20:26 another test" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140773914> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/2005/01/wf/flow#tracker> <http://dig.csail.mit.edu/2010/issues/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://purl.org/dc/elements/1.1/title> "2-:26 test again" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281141318573> <http://www.w3.org/2005/01/wf/flow#tracker> <http://foaf.me/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281141318573> <http://purl.org/dc/elements/1.1/title> "20:35 test by tim" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281141318573> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.csail.mit.edu/2010/issues/track#New> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/2005/01/wf/flow#tracker> <http://foaf.me/track#TabTracker> .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "this is a test" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://purl.org/dc/elements/1.1/title> "####test" .
> <https://dig.xvm.mit.edu/wiki/tabulator/tracker/state#foobar> <http://www.w3.org/2000/01/rdf-schema#comment> "This one is stored on HTTPS" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/2000/01/rdf-schema#comment> "Let's see whether we can add a comment. 23:15" .
> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/state#Iss1281140823504> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dig.xvm.mit.edu/wiki/tabulator/tracker/undefined> .
> 
> 
Received on Monday, 9 August 2010 09:25:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:32 GMT