projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add test file to package.xml
[m6w6/ext-http]
/
tests
/
parse_message_005.phpt
diff --git
a/tests/parse_message_005.phpt
b/tests/parse_message_005.phpt
index 0ddeb0548f2df6fd8b6fecb9638ef1d0aafd43a8..e07db870f24fea70d71134a646861ecb10d4c83c 100644
(file)
--- a/
tests/parse_message_005.phpt
+++ b/
tests/parse_message_005.phpt
@@
-11,7
+11,7
@@
print_r(http_parse_message(
"
HTTP/1.1 206
Server: Funky/1.0
"
HTTP/1.1 206
Server: Funky/1.0
-Content-Range: bytes
=
0-0/100
+Content-Range: bytes
:
0-0/100
1
1
@@
-26,7
+26,7
@@
Content-Range: bytes 0-0/100
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
stdClass Object
(
[type] => 2
stdClass Object
(
[type] => 2
@@
-49,7
+49,7
@@
stdClass Object
[headers] => Array
(
[Server] => Funky/1.0
[headers] => Array
(
[Server] => Funky/1.0
- [Content-Range] => bytes
=
0-0/100
+ [Content-Range] => bytes
:
0-0/100
)
[body] => 1
)
[body] => 1