Index: LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php |
diff --git a/LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php b/LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8a153c161fa005383350b3861579f6e77884b7f8 |
--- /dev/null |
+++ b/LayoutTests/http/tests/misc/resources/image-checks-for-dpr.php |
@@ -0,0 +1,11 @@ |
+<?php |
+ $dpr = $_SERVER["HTTP_DPR"]; |
+ |
+ if($dpr) { |
+ $fn = fopen("compass.jpg", "r"); |
+ fpassthru($fn); |
+ fclose($fn); |
+ exit; |
+ } |
+ header("HTTP/1.1 417 Expectation failed"); |
+?> |