!7
html {
uri = dropPrefix("/", uri);
long id = parseLong(uri);
S contentType = or(params.get("ct"), params.get("contentType"));
bool maxCache = eq(params.get("maxCache"), "1")
|| isImmutableSnippet(id);
temp tempSetTL(loadSnippet_publicOnly, true);
S text = loadSnippet_simpleCache(fsI(id));
if (empty(contentType)) ret text;
O response = subBot_serveWithContentType(text, contentType);
if (maxCache) subBot_maxCacheHeaders(response);
ret response;
}