projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
expand #if CURL
[m6w6/ext-http]
/
tests
/
message001.phpt
diff --git
a/tests/message001.phpt
b/tests/message001.phpt
index 8a10811fb1f887e14d5c0bc8022ace14abd0b703..e0eeddda1f4cf13f578d31ee4dfd0af652208b89 100644
(file)
--- a/
tests/message001.phpt
+++ b/
tests/message001.phpt
@@
-10,6
+10,11
@@
echo "Test\n";
use http\Message as HttpMessage;
use http\Message as HttpMessage;
+try {
+ echo new HttpMessage(" gosh\n nosh\n ");
+} catch (Exception $ignore) {
+}
+
$m = new HttpMessage();
echo $m;
var_dump(
$m = new HttpMessage();
echo $m;
var_dump(
@@
-85,7
+90,7
@@
echo $m->getParentMessage();
echo "Done\n";
--EXPECTF--
Test
echo "Done\n";
--EXPECTF--
Test
-string(3) "
0.0
"
+string(3) "
1.1
"
bool(true)
array(0) {
}
bool(true)
array(0) {
}
@@
-234,7
+239,6
@@
X-Original-Transfer-Encoding: chunked
Content-Length: 14
Hello, World!
Content-Length: 14
Hello, World!
-
string(3) "1.1"
bool(true)
int(200)
string(3) "1.1"
bool(true)
int(200)