From 0c955b7c88b41fa28d079eb639abb748583ab4eb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 7 Dec 2009 12:13:42 -0500 Subject: remove unit tests for minify --- .../min_unit_tests/HTTP_ConditionalGet/index.php | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 plugins/Minify/extlib/minify/min_unit_tests/HTTP_ConditionalGet/index.php (limited to 'plugins/Minify/extlib/minify/min_unit_tests/HTTP_ConditionalGet/index.php') diff --git a/plugins/Minify/extlib/minify/min_unit_tests/HTTP_ConditionalGet/index.php b/plugins/Minify/extlib/minify/min_unit_tests/HTTP_ConditionalGet/index.php deleted file mode 100644 index 0e4192e62..000000000 --- a/plugins/Minify/extlib/minify/min_unit_tests/HTTP_ConditionalGet/index.php +++ /dev/null @@ -1,36 +0,0 @@ - $lastModified -)); -$cg->sendHeaders(); -if ($cg->cacheIsValid) { - // we're done - exit(); -} - -$title = 'Last-Modified is known : simple usage'; -$explain = ' -

If your content has not changed since a certain timestamp, set this via the -the lastModifiedTime array key when instantiating HTTP_ConditionalGet. -You can immediately call the method sendHeaders() to set the -Last-Modified, ETag, and Cache-Control headers. The, if cacheIsValid -property is false, you echo the content.

-

This script emulates a document that changes every ' .$every. ' seconds. -
This is version: ' . date('r', $lastModified) . '

-'; - -require '_include.php'; - -echo send_slowly(get_content(array( - 'title' => $title - ,'explain' => $explain -))); - -- cgit v1.2.3-54-g00ecf