Merge branch 'refactor'
[potlatch2.git] / net / systemeD / halcyon / connection / XMLConnection.as
index d87d87eed958aa92705f8eb76bdf2e650be1cb48..3a4c5ef3bfaedb745ebfa39d1dd1d5f672b1db03 100644 (file)
@@ -56,6 +56,7 @@ package net.systemeD.halcyon.connection {
                        mapLoader.addEventListener(Event.COMPLETE, loadedMap);
                        mapLoader.addEventListener(IOErrorEvent.IO_ERROR, errorOnMapLoad);
                        mapLoader.addEventListener(HTTPStatusEvent.HTTP_STATUS, mapLoadStatus);
+            request.requestHeaders.push(new URLRequestHeader("X-Error-Format", "XML"));
                        mapLoader.load(request);
                        dispatchEvent(new Event(LOAD_STARTED));
                }