summaryrefslogtreecommitdiff
path: root/inc/IXR_Library.php
diff options
context:
space:
mode:
authorGina Haeussge <osd@foosel.net>2008-04-05 23:47:37 +0200
committerGina Haeussge <osd@foosel.net>2008-04-05 23:47:37 +0200
commit354bc9918a15b0ae65f67acd0afc0e7f87b72ce1 (patch)
tree2881a5f6a62e7e8dc53e521904df0a127ceeaa82 /inc/IXR_Library.php
parent9edcadf63552302f1a0c19d4efc2364e937fa2fd (diff)
downloadrpg-354bc9918a15b0ae65f67acd0afc0e7f87b72ce1.tar.gz
rpg-354bc9918a15b0ae65f67acd0afc0e7f87b72ce1.tar.bz2
XMLRPC requests are to be made using POST according to spec
darcs-hash:20080405214737-2b4f5-01801b89e5efb32fb56b63a6746b60223ee270ba.gz
Diffstat (limited to 'inc/IXR_Library.php')
-rw-r--r--inc/IXR_Library.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/IXR_Library.php b/inc/IXR_Library.php
index 33e1efbc5..c3c70b92c 100644
--- a/inc/IXR_Library.php
+++ b/inc/IXR_Library.php
@@ -501,7 +501,7 @@ class IXR_Client extends DokuHTTPClient {
$xml = $request->getXml();
$this->headers['Content-Type'] = 'text/xml';
- if(!$this->sendRequest($this->posturl,$xml,'RAW')){
+ if(!$this->sendRequest($this->posturl,$xml,'POST')){
$this->xmlerror = new IXR_Error(-32300, 'transport error - '.$this->error);
return false;
}