* renaming tests
[m6w6/ext-http] / tests / send_data_005.phpt
diff --git a/tests/send_data_005.phpt b/tests/send_data_005.phpt
new file mode 100644 (file)
index 0000000..af4b0ee
--- /dev/null
@@ -0,0 +1,16 @@
+--TEST--
+http_send_data() oversized range
+--SKIPIF--
+<?php 
+include 'skip.inc';
+?>
+--ENV--
+HTTP_RANGE=bytes=5990-6000
+--FILE--
+<?php
+http_send_content_type('text/plain');
+http_send_data(str_repeat('123abc', 1000));
+?>
+--EXPECTF--
+Status: 416
+%s
\ No newline at end of file