Differences From
Artifact [f59188addc]:
334 334 }
335 335 goto [send]
336 336 end
337 337 end
338 338 end
339 339 terra http.static_content(co: &lib.srv.convo, [filename], [flen])
340 340 var hdrs = array(
341 - lib.http.header{'Content-Type',nil})
341 + lib.http.header{'Content-Type',nil},
342 + lib.http.header{'Cache-Control','max-age=2592000'} -- TODO immutable?
343 + )
342 344 var [page] = lib.http.page {
343 345 respcode = 200;
344 346 headers = [lib.mem.ptr(lib.http.header)] {
345 347 ptr = &hdrs[0], ct = 1
346 348 }
347 349 }
348 350 [branches]