X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Finfo002.phpt;h=4d0344030115ba691bad92ea2e860f03aaac1185;hp=41bd7b49adb0c23537a4589c1f93d6c727a58fae;hb=640b762aa5a5fdf571e44f7a66725c097b7dc0f1;hpb=046973e332c1475f9bf7717af9d33a75283deb37 diff --git a/tests/info002.phpt b/tests/info002.phpt index 41bd7b4..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 'Could not parse message: 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}()