Allow passing postdata in Http::post() options...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 30 Jul 2009 22:11:44 +0000 (22:11 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 30 Jul 2009 22:11:44 +0000 (22:11 +0000)
commitab7470b6e878556d539e7bd407c5310a98761eb0
treeb332e4333d2fae40d0b5881e797c4f227e5a8f37
parent9de4fb89b99ecf97b8fd8e1ffddf0f21e1e03a40
Allow passing postdata in Http::post() options...
Note -- CURL allows you to pass an array which it will encode as multipart, but this doesn't seem to work for me.
Until resolved, do URL form encoding yourself with wfArrayToCGI() and pass in a string.
Todo: implement also for non-CURL mode if possible?
includes/HttpFunctions.php