blob: 0b5932ca02a8d7cfcdf7297b809ccac49bfcb8ce (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
function handleRequest(request, response) {
// This returns always new and different CSS content.
const page = `body::before { content: "${Date.now()}"; }`;
response.setHeader("Content-Type", "text/css; charset=utf-8", false);
response.setHeader("Content-Length", page.length + "", false);
response.write(page);
}
|