parsav  Diff

Differences From Artifact [b74b4804fc]:

To Artifact [b092edff32]:


   205    205   		lib.http.header { key = 'Cache-Control', value = 'no-store' },
   206    206   		lib.http.header {
   207    207   			key = 'X-Live-Newest-Artifact';
   208    208   			value = lib.math.decstr(lastup, &nbuf[20]);
   209    209   		},
   210    210   		lib.http.header { key = 'Content-Length', value = '0' }
   211    211   	)
   212         -	if self.live_last ~= 0 and self.live_last >= lastup then
          212  +	if self.live_last ~= 0 and self.live_last == lastup then
   213    213   		lib.net.mg_printf(self.con, 'HTTP/1.1 %s', lib.http.codestr(200))
   214    214   		for i = 0, [hdrs.type.N] do
   215    215   			lib.net.mg_printf(self.con, '%s: %s\r\n', hdrs[i].key, hdrs[i].value)
   216    216   		end
   217    217   		lib.net.mg_printf(self.con, '\r\n')
   218    218   	else
   219    219   		self:rawpage(200, pg, [lib.mem.ptr(lib.http.header)] {