zeya team mailing list archive
-
zeya team
-
Mailing list archive
-
Message #00034
Re: What purpose is /getlibrary JSON dump serving?
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).
Phil
Follow ups
References