X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Finfo002.phpt;h=4d0344030115ba691bad92ea2e860f03aaac1185;hp=093dcd169c63e3334271666cb390efa4693f4cba;hb=52b988066074880ed220f99b4e71be3249b32c85;hpb=5016399a1e84ca8d23fa74934300e703155e586b diff --git a/tests/info002.phpt b/tests/info002.phpt index 093dcd1..4d03440 100644 --- a/tests/info002.phpt +++ b/tests/info002.phpt @@ -4,6 +4,8 @@ invalid HTTP info +--INI-- +zend.exception_ignore_args=off --FILE-- __construct('HTTP/1.1 99 App...') #1 %sinfo002.php(%d): {closure}() #2 %sinfo002.php(%d): trap(Object(Closure)) #3 {main} -exception 'http\Exception\BadMessageException' with message 'http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 7 of 'CONNECT HTTP/1.1'' in %sinfo002.php:%d +http\Exception\BadMessageException: http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 7 of 'CONNECT HTTP/1.1' in %sinfo002.php:%d Stack trace: #0 %sinfo002.php(%d): http\Message->__construct('CONNECT HTTP/1....') #1 %sinfo002.php(%d): {closure}()