X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsend_data_007.phpt;h=a0736617a58b76db40456c0d88596c23cb35e66a;hp=478d58dc82c028c0059e9e3e60a6dfc666c3f548;hb=db5299a8b005bf625b4e34666b48e6cce8990482;hpb=96d059e9210a6677427392d615bc42ab38b3b432 diff --git a/tests/send_data_007.phpt b/tests/send_data_007.phpt index 478d58d..a073661 100644 --- a/tests/send_data_007.phpt +++ b/tests/send_data_007.phpt @@ -1,23 +1,24 @@ --TEST-- -http_send_data() etag caching +http_send_data() NIL-NIL range --SKIPIF-- --ENV-- -HTTP_IF_NONE_MATCH="0bee89b07a248e27c83fc3d5951213c1" +HTTP_RANGE=bytes=0-0 --FILE-- --EXPECTF-- -Status: 304 -Content-type: %s +Status: 206 X-Powered-By: PHP/%s -Cache-Control: private, must-revalidate, max-age=0 -%s +Content-Type: text/plain +Accept-Ranges: bytes +Content-Range: bytes 0-0/3 +Content-Length: 1 + +a