X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2FHttpRequest_006.phpt;h=8996166fad6f060faaf09e66a088dcfc91f3e4c1;hp=ba8e6eda133e2b15b88bdd2eae01d7433fcaa772;hb=c4bf0a26f53d88dc8724d96e599a3867113da2be;hpb=e6d36989f0650bf097b6909c41cdd20a1ffcd6af diff --git a/tests/HttpRequest_006.phpt b/tests/HttpRequest_006.phpt index ba8e6ed..8996166 100644 --- a/tests/HttpRequest_006.phpt +++ b/tests/HttpRequest_006.phpt @@ -24,20 +24,6 @@ echo "Done\n"; object(HttpMessage)#%d (%d) { ["type:protected"]=> int(2) - ["httpVersion:protected"]=> - float(1.1) - ["responseCode:protected"]=> - int(200) - ["responseStatus:protected"]=> - string(2) "OK" - ["requestMethod:protected"]=> - string(0) "" - ["requestUrl:protected"]=> - string(0) "" - ["headers:protected"]=> - array(6) { - %s - } ["body:protected"]=> string(309) "string(294) " @@ -59,24 +45,26 @@ object(HttpMessage)#%d (%d) { " " -} -object(HttpMessage)#%d (%d) { - ["type:protected"]=> - int(2) - ["httpVersion:protected"]=> - float(1.1) - ["responseCode:protected"]=> - int(200) - ["responseStatus:protected"]=> - string(2) "OK" ["requestMethod:protected"]=> string(0) "" ["requestUrl:protected"]=> string(0) "" + ["responseStatus:protected"]=> + string(2) "OK" + ["responseCode:protected"]=> + int(200) + ["httpVersion:protected"]=> + float(1.1) ["headers:protected"]=> array(6) { %s } + ["parentMessage:protected"]=> + NULL +} +object(HttpMessage)#%d (%d) { + ["type:protected"]=> + int(2) ["body:protected"]=> string(309) "string(294) " @@ -98,24 +86,26 @@ object(HttpMessage)#%d (%d) { " " -} -object(HttpMessage)#%d (%d) { - ["type:protected"]=> - int(2) - ["httpVersion:protected"]=> - float(1.1) - ["responseCode:protected"]=> - int(200) - ["responseStatus:protected"]=> - string(2) "OK" ["requestMethod:protected"]=> string(0) "" ["requestUrl:protected"]=> string(0) "" + ["responseStatus:protected"]=> + string(2) "OK" + ["responseCode:protected"]=> + int(200) + ["httpVersion:protected"]=> + float(1.1) ["headers:protected"]=> array(6) { %s } + ["parentMessage:protected"]=> + NULL +} +object(HttpMessage)#%d (%d) { + ["type:protected"]=> + int(2) ["body:protected"]=> string(309) "string(294) " @@ -137,5 +127,21 @@ object(HttpMessage)#%d (%d) { " " + ["requestMethod:protected"]=> + string(0) "" + ["requestUrl:protected"]=> + string(0) "" + ["responseStatus:protected"]=> + string(2) "OK" + ["responseCode:protected"]=> + int(200) + ["httpVersion:protected"]=> + float(1.1) + ["headers:protected"]=> + array(6) { + %s + } + ["parentMessage:protected"]=> + NULL } Done