On Oct 20, 2017, at 8:52 AM, Richard Hipp <d...@sqlite.org> wrote: > > part of the /juvlist output
I like the idea, though instead of adding another top-level URL, why not sniff the Accept HTTP header to decide whether to return HTML or JSON? I haven’t looked at the code for your Downloads page, but it’s trivial to set this header properly: XMLHttpRequest.setRequestHeader("Accept", "application/json”) or with jQuery: $.ajax(…, accepts: { json: "application/json", } ); _______________________________________________ fossil-dev mailing list fossil-dev@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev