X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Finfo002.phpt;h=4d0344030115ba691bad92ea2e860f03aaac1185;hp=72690e472ba290db865fa54e4e8cb5cdc995daa7;hb=640b762aa5a5fdf571e44f7a66725c097b7dc0f1;hpb=21f7beb95f0a71f3bc62a91b7802ebdebcc549a0 diff --git a/tests/info002.phpt b/tests/info002.phpt index 72690e4..4d03440 100644 --- a/tests/info002.phpt +++ b/tests/info002.phpt @@ -4,12 +4,14 @@ 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}()