projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
let DEV_2 be trunk
[m6w6/ext-http]
/
tests
/
envrequestbody001.phpt
diff --git a/tests/envrequestbody001.phpt
b/tests/envrequestbody001.phpt
new file mode 100644
(file)
index 0000000..
2351186
--- /dev/null
+++ b/
tests/envrequestbody001.phpt
@@ -0,0
+1,15
@@
+--TEST--
+env request body
+--SKIPIF--
+<? include "skipif.inc";
+--PUT--
+Content-Type: skip/me
+foo
+--FILE--
+<?
+var_dump((string) \http\Env::getRequestBody());
+?>
+DONE
+--EXPECT--
+string(3) "foo"
+DONE