- example fixup
[m6w6/ext-http] / docs / examples / Multipart_Posts.php
index eb9b171ea60c47193a210edc6e9c36065fce2144..2656b313bf8cddfa8b724f25e1b51bfd05ab994b 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-$r = new HttpRequest('http://dev.iworks.at/.print_request.php', HTTP_POST);
+$r = new HttpRequest('http://dev.iworks.at/.print_request.php', HTTP_METH_POST);
 
 // if redirects is set to true, a single redirect is allowed;
 // one can set any reasonable count of allowed redirects