- improve response performance
[m6w6/ext-http] / tests / send_data_008.phpt
index 03db1c26a3006889ef4fcd5290cd138ead08181d..f5d4e85aac8838f2589f9da41e8a3001edc076b8 100644 (file)
@@ -4,15 +4,17 @@ http_send_data() HTTP_SENDBUF_SIZE long string
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --FILE--
 <?php
-http_throttle(0.01, 20);
+http_throttle(0.01, 1);
 http_send_data('00000000000000000000');
 ?>
 --EXPECTF--
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
+Content-Length: 20
 
-00000000000000000000
\ No newline at end of file
+00000000000000000000