projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- curl cannot use zend mm
[m6w6/ext-http]
/
tests
/
HttpMessage_001.phpt
diff --git
a/tests/HttpMessage_001.phpt
b/tests/HttpMessage_001.phpt
index 6c08b8aaa64503770c3c40aec5f3f23bbb3f2072..6d8171dd639907624c89a61ab74a8613e5cb34ae 100644
(file)
--- a/
tests/HttpMessage_001.phpt
+++ b/
tests/HttpMessage_001.phpt
@@
-1,12
+1,13
@@
--TEST--
HttpMessage
--SKIPIF--
--TEST--
HttpMessage
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
checkver(5);
?>
--FILE--
<?php
include 'skip.inc';
checkver(5);
?>
--FILE--
<?php
+echo "-TEST\n";
$m = new HttpMessage(
"HTTP/1.1 301\r\n".
"Location: /anywhere\r\n".
$m = new HttpMessage(
"HTTP/1.1 301\r\n".
"Location: /anywhere\r\n".
@@
-26,7
+27,8
@@
var_dump($m->toString());
var_dump(HttpMessage::fromString($m->toString())->toString());
?>
--EXPECTF--
var_dump(HttpMessage::fromString($m->toString())->toString());
?>
--EXPECTF--
-%sstring(1) "X"
+%sTEST
+string(1) "X"
string(134) "HTTP/1.1 301
Location: /anywhere
HTTP/1.1 302
string(134) "HTTP/1.1 301
Location: /anywhere
HTTP/1.1 302
@@
-47,3
+49,4
@@
Content-Length: 1
X
"
X
"
+