* renaming tests
[m6w6/ext-http] / tests / send_data_009.phpt
diff --git a/tests/send_data_009.phpt b/tests/send_data_009.phpt
new file mode 100644 (file)
index 0000000..4f3a716
--- /dev/null
@@ -0,0 +1,19 @@
+--TEST--
+http_send_data() last modified caching
+--SKIPIF--
+<?php 
+include 'skip.inc';
+?>
+--FILE--
+<?php
+http_cache_last_modified(-5);
+http_send_data("abc\n");
+?>
+--EXPECTF--
+Content-type: text/html
+X-Powered-By: PHP/%s
+Cache-Control: private, must-revalidate, max-age=0
+Last-Modified: %s, %d %s %d %d:%d:%d GMT
+Accept-Ranges: bytes
+
+abc