From 354bc9918a15b0ae65f67acd0afc0e7f87b72ce1 Mon Sep 17 00:00:00 2001
From: Gina Haeussge <osd@foosel.net>
Date: Sat, 5 Apr 2008 23:47:37 +0200
Subject: [PATCH] XMLRPC requests are to be made using POST according to spec

darcs-hash:20080405214737-2b4f5-01801b89e5efb32fb56b63a6746b60223ee270ba.gz
---
 inc/IXR_Library.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
         }
-- 
GitLab