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
@@ -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