NancyFx/Nancy — pull request #1532 by robertbeal (2014-05-15 10:55:43+00:00)
Title: XmlSettings for Xml (equivalent of JsonSettings)

As per https://github.com/NancyFx/Nancy/pull/1301/files#r10638469 I've followed the comments and fixed the tab formatting to be consistent.

The XmlSettings is to allow setting default options when serializing xml. In my use-case, setting the Encoding.

I thought that could potentially break some people's usages, so I've added a boolean property EncodingEnabled and defaulted it to false. Other than that DefaultEncoding is set to utf-8 just like JsonSettings.