X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fbug69313.phpt;h=c84ef983261d39abcbc4765f42088f2fe117d555;hp=824918cb325fdb8055f4570ff3236262e0bb72c7;hb=e8e022a00f4cf791bc86bb6889c22c0e185c6774;hpb=e6a35dd1dc8c8731d2e4434cef7b33aba383d612 diff --git a/tests/bug69313.phpt b/tests/bug69313.phpt index 824918c..c84ef98 100644 --- a/tests/bug69313.phpt +++ b/tests/bug69313.phpt @@ -2,13 +2,13 @@ Bug #69313 (http\Client doesn't send GET body) --SKIPIF-- --FILE-- enqueue($request); $client->send(); - echo $client->getResponse(); + dump_message(null, $client->getResponse()); }); ?> @@ -30,16 +30,17 @@ Done Test HTTP/1.1 200 OK Accept-Ranges: bytes +Content-Length: %d Etag: "%s" X-Original-Transfer-Encoding: chunked -Content-Length: %d +X-Request-Content-Length: 3 GET / HTTP/1.1 -User-Agent: %s -Host: localhost:%d Accept: */* -Content-Type: text/plain Content-Length: 3 +Content-Type: text/plain +Host: localhost:%d +User-Agent: %s X-Original-Content-Length: 3 foo