X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Frequest_put_data.phpt;h=bd81a1e57ab7dbb42a195efebb26ba58151360e4;hb=fcaf2a72a0d55642b9c02e0526e56ce8f33f77f6;hp=b8a5a3c1e2ea0f3552645228c5190c174337ff76;hpb=a93c1059c61026dab25278d0839c44745fc117b6;p=m6w6%2Fext-http diff --git a/tests/request_put_data.phpt b/tests/request_put_data.phpt index b8a5a3c..bd81a1e 100644 --- a/tests/request_put_data.phpt +++ b/tests/request_put_data.phpt @@ -9,7 +9,10 @@ skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support"); CURLBUF_SIZE */)))->body); +$data = str_repeat("abc", 6000/* > CURLBUF_SIZE */); +$resp = http_put_data("http://dev.iworks.at/ext-http/.print_put.php5", $data); +$mess = http_parse_message($resp); +var_dump($data === $mess->body); echo "Done\n"; ?>