Author: Paolo Lulli <paolo@lulli.net>
responses in XML
server/rest/outputs.go | 2 +-
diff --git a/server/rest/outputs.go b/server/rest/outputs.go index 7a52d5855558f457c07ecef6cd3b05dd05970ba9..7508894f945d35723cddbed7cd06d0b71f21712b 100644 --- a/server/rest/outputs.go +++ b/server/rest/outputs.go @@ -7,6 +7,6 @@ formatted := false if formatted { c.IndentedJSON(status, h) } else { - c.TOML(status, h) + c.XML(status, h) } }