Thread Previous • Date Previous • Date Next • Thread Next |
Phil Sung wrote:
On Sat, Dec 19, 2009 at 15:35, Amit Saha <lists.amitsaha@xxxxxxxxx> wrote:I was wondering what purpose we are trying to serve via a dump of JSON on a /getlibrary? 225 def serve_library(self): 226 """ 227 Serve a representation of the library. 228 """ 229 self.send_data('text/html', library_repr.encode('utf-8'))Web clients hit that URL after the HTML is loaded, in order to obtain the library data (the initial download of HTML/CSS/JS is all static).
Ah, that is in the 'zeya.js' file. Thanks! Best, Amit
Phil
-- Journal: http://amitksaha.wordpress.com µ-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux
Thread Previous • Date Previous • Date Next • Thread Next |