X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Finfo001.phpt;h=5ced7a38d118abd2ed1b7d2305cfaf84362c507b;hp=8209669f60d4fa773e9b6903225bdf5a9978410e;hb=52b988066074880ed220f99b4e71be3249b32c85;hpb=21f7beb95f0a71f3bc62a91b7802ebdebcc549a0 diff --git a/tests/info001.phpt b/tests/info001.phpt index 8209669..5ced7a3 100644 --- a/tests/info001.phpt +++ b/tests/info001.phpt @@ -2,6 +2,8 @@ invalid HTTP info --SKIPIF-- +--INI-- +zend.exception_ignore_args=off --FILE-- DONE --EXPECTF-- -exception 'http\Exception\BadMessageException' with message 'http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 3 of 'GET HTTP/1.1'' in %s +http\Exception\BadMessageException: http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 3 of 'GET HTTP/1.1' in %s Stack trace: #0 %s: http\Message->__construct('GET HTTP/1.1') #1 {main} -exception 'http\Exception\BadMessageException' with message 'http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 3 of 'GET HTTP/1.123'' in %s +http\Exception\BadMessageException: http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 3 of 'GET HTTP/1.123' in %s Stack trace: #0 %s: http\Message->__construct('GET HTTP/1.123') #1 {main} -exception 'http\Exception\BadMessageException' with message 'http\Message::__construct(): Failed to parse headers: unexpected character '\057' at pos 7 of 'GETHTTP/1.1'' %s +http\Exception\BadMessageException: http\Message::__construct(): Failed to parse headers: unexpected character '\057' at pos 7 of 'GETHTTP/1.1' %s Stack trace: #0 %s: http\Message->__construct('GETHTTP/1.1') #1 {main}