projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
back to dev
[m6w6/ext-http]
/
tests
/
info_001.phpt
diff --git
a/tests/info_001.phpt
b/tests/info_001.phpt
index e79abd40b5d1066bc98472a7779431fab4b25326..11b83f6168ec83812cb82bb1ff04e482c7db1784 100644
(file)
--- a/
tests/info_001.phpt
+++ b/
tests/info_001.phpt
@@
-24,27
+24,23
@@
var_dump(new http\Message("GET / HTTP/1.1"));
?>
DONE
--EXPECTF--
?>
DONE
--EXPECTF--
-exception 'http\Exception
' with message 'c
ould not parse message: GET HTTP/1.1' in %s
+exception 'http\Exception
\BadMessageException' with message 'C
ould not parse message: GET HTTP/1.1' in %s
Stack trace:
#0 %s: http\Message->__construct('GET HTTP/1.1')
#1 {main}
Stack trace:
#0 %s: http\Message->__construct('GET HTTP/1.1')
#1 {main}
-exception 'http\Exception
' with message 'c
ould not parse message: GET HTTP/1.123' in %s
+exception 'http\Exception
\BadMessageException' with message 'C
ould not parse message: GET HTTP/1.123' in %s
Stack trace:
#0 %s: http\Message->__construct('GET HTTP/1.123')
#1 {main}
Stack trace:
#0 %s: http\Message->__construct('GET HTTP/1.123')
#1 {main}
-exception 'http\Exception
' with message 'c
ould not parse message: GETHTTP/1.1' in %s
+exception 'http\Exception
\BadMessageException' with message 'C
ould not parse message: GETHTTP/1.1' in %s
Stack trace:
#0 %s: http\Message->__construct('GETHTTP/1.1')
#1 {main}
Stack trace:
#0 %s: http\Message->__construct('GETHTTP/1.1')
#1 {main}
-object(http\Message)#%d (10) {
- ["errorHandling":protected]=>
- NULL
+object(http\Message)#%d (9) {
["type":protected]=>
int(1)
["body":protected]=>
["type":protected]=>
int(1)
["body":protected]=>
- object(http\Message\Body)#%d (1) {
- ["errorHandling":protected]=>
- NULL
+ object(http\Message\Body)#%d (0) {
}
["requestMethod":protected]=>
string(3) "GET"
}
["requestMethod":protected]=>
string(3) "GET"