* renaming tests
[m6w6/ext-http] / tests / send_data_007.phpt
diff --git a/tests/send_data_007.phpt b/tests/send_data_007.phpt
new file mode 100644 (file)
index 0000000..b02cad9
--- /dev/null
@@ -0,0 +1,19 @@
+--TEST--
+http_send_data() etag caching
+--SKIPIF--
+<?php 
+include 'skip.inc';
+?>
+--ENV--
+HTTP_IF_NONE_MATCH="0bee89b07a248e27c83fc3d5951213c1"
+--FILE--
+<?php
+http_cache_etag();
+http_send_data("abc\n");
+?>
+--EXPECTF--
+Status: 304
+Content-type: text/html
+X-Powered-By: PHP/%s
+Cache-Control: private, must-revalidate, max-age=0
+%s