Sha256: 19620ec9e4e7c370f1072d9cb3b64512f7e4657578697dbbd334b4299f489f3f

Contents?: true

Size: 378 Bytes

Versions: 12

Compression:

Stored size: 378 Bytes

Contents

<?php
error_reporting(0);

$ts = $_REQUEST['ts'];

$ifModifiedSince = isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? stripslashes($_SERVER['HTTP_IF_MODIFIED_SINCE']) : false;
if ($ifModifiedSince == $ts) {
	header('HTTP/1.0 304 Not Modified');
	die; // stop processing
}

header("Last-Modified: " . $ts);

if ( $ifModifiedSince ) {
	echo "OK: " . $ts;
} else {
	echo "FAIL";
}

?>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
lady_josephine-0.7.0 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.6.3 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.6.2 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.6.1 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.6.0 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.5.0 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.0.4 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.0.3 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.0.2 vendor/assets/components/jquery/test/data/if_modified_since.php
lady_josephine-0.0.1 vendor/assets/components/jquery/test/data/if_modified_since.php
guff-compass-1.0.0 demo/bower_components/jquery/test/data/if_modified_since.php
guff-compass-0.7.0 demo/bower_components/jquery/test/data/if_modified_since.php