diff --git a/includes/datastream.inc b/includes/datastream.inc index 6a537c2b..f7e20b27 100644 --- a/includes/datastream.inc +++ b/includes/datastream.inc @@ -118,8 +118,8 @@ function islandora_parse_http_match_headers($header_value) { * An integer representing the HTTP response code. One of: * - 200: Proceed as normal. (Full download). * - 304: Resource hasn't changed; pass cache validation. - * - 412: Resource has channged; fail cache validation. - * + * - 412: Resource has changed; fail cache validation. + * * @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html */ function islandora_view_datastream_cache_check(AbstractDatastream $datastream) { diff --git a/tests/datastream_cache.test b/tests/datastream_cache.test index 0be7dd54..8118c08a 100644 --- a/tests/datastream_cache.test +++ b/tests/datastream_cache.test @@ -2,13 +2,7 @@ /** * @file - * Tests to see if the hooks get called when appropriate. - * - * In the test module 'islandora_hooks_test' there are implementations - * of hooks being tested. These implementations modifies the session, and - * that's how we test if the hook gets called. - * - * To make sense of these tests reference islandora_hooks_test.module. + * Tests to verify the cache headers we provide. */ class IslandoraDatastreamCacheTestCase extends IslandoraWebTestCase {