<script src="/js-test-resources/js-test-pre.js"></script>
<script src="resources/cache-test.js"></script>
<body>
<script>

var tests =
[
 { responseHeaders: {'Status': '204', 'Cache-control': 'max-age=0' }, includeBody: false },
 { responseHeaders: {'Status': '204', 'Cache-control': 'max-age=100' }, includeBody: false },
 { responseHeaders: {'Status': '204', 'Last-Modified': 'now(-1000)' }, includeBody: false }, // Heuristic freshness.
];

description("Test that responses with HTTP status code 204 are cacheable");

debug("running " + tests.length + " tests");
debug("");

runTests(tests);

</script>
<script src="/js-test-resources/js-test-post.js"></script>
