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