summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/resources/last-modified.php
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/http/tests/resources/last-modified.php')
-rw-r--r--LayoutTests/http/tests/resources/last-modified.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/resources/last-modified.php b/LayoutTests/http/tests/resources/last-modified.php
new file mode 100644
index 0000000..55c5222
--- /dev/null
+++ b/LayoutTests/http/tests/resources/last-modified.php
@@ -0,0 +1,7 @@
+<?php
+ $date = $_GET['date'];
+ header("Last-Modified: $date");
+?>
+<script>
+document.write(document.lastModified);
+</script>