X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsend_ifrange_001.phpt;fp=tests%2Fsend_ifrange_001.phpt;h=4328226dd000bbb8902b8ca93831762458eab912;hp=0000000000000000000000000000000000000000;hb=5685b2140c8948fe617766ce154bb7462729ea6f;hpb=b22d34f60b6694a8fed24cff66a28fd638309928 diff --git a/tests/send_ifrange_001.phpt b/tests/send_ifrange_001.phpt new file mode 100644 index 0000000..4328226 --- /dev/null +++ b/tests/send_ifrange_001.phpt @@ -0,0 +1,25 @@ +--TEST-- +http_send() If-Range +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Status: 206 +X-Powered-By: %s +Cache-Control: private, must-revalidate, max-age=0 +ETag: "abc" +Accept-Ranges: bytes +Content-Range: bytes 0-1/%d +Content-Length: 2 +Content-type: text/html + +