Move to dashes to avoid upsetting Passenger
authorRichard Fairhurst <richard@systemeD.net>
Wed, 16 Dec 2015 16:10:37 +0000 (16:10 +0000)
committerRichard Fairhurst <richard@systemeD.net>
Wed, 16 Dec 2015 16:10:37 +0000 (16:10 +0000)
net/systemeD/halcyon/connection/XMLConnection.as

index f54a49c..116fc74 100644 (file)
@@ -220,7 +220,7 @@ package net.systemeD.halcyon.connection {
             urlReq.method = "POST";
                        if (xml) { urlReq.data = xml.toXMLString(); } else { urlReq.data = true; }
             urlReq.contentType = "application/xml";
-            urlReq.requestHeaders = [ new URLRequestHeader("X_HTTP_METHOD_OVERRIDE", "PUT"), 
+            urlReq.requestHeaders = [ new URLRequestHeader("X-HTTP-Method-Override", "PUT"),
                                                  new URLRequestHeader("X-Error-Format", "XML") ];
             var loader:URLLoader = new URLLoader();
             loader.addEventListener(Event.COMPLETE, onComplete);