2b9e7931a287678d8c44b0d69181334b1f682bc7
[m6w6/ext-http] / tests / send_data_009.phpt
1 --TEST--
2 http_send_data() last modified caching
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcgi();
7 ?>
8 --FILE--
9 <?php
10 http_cache_last_modified(-5);
11 http_send_data("abc\n");
12 ?>
13 --EXPECTF--
14 Content-type: text/html
15 X-Powered-By: PHP/%s
16 Cache-Control: private, must-revalidate, max-age=0
17 Last-Modified: %s, %d %s %d %d:%d:%d GMT
18 Accept-Ranges: bytes
19
20 abc