title: Outputting html with OWIN selfhost
body: <p>I'm experimenting with OWIN selfhost, and I'm trying to output a html response, however the server is always returning xml output. What am I doing wrong?</p>
  
  <pre><code>class Startup
  {
      public void Configuration(IAppBuilder app)
      {
          var config = new HttpConfiguration();
          config.Routes.MapHttpRoute(
              "default", 
              "{controller}/{action}/{id}", 
              new { controller = "home", action = "index", id = RouteParameter.Optional }
              );
  
          app.UseWebApi(config);
      }
  }
  
  public class HomeController : ApiController
  {
      public HomeController()
      {
      }
  
      [HttpGet]
      public string Index()
      {
          return "&lt;b&gt;kg&lt;/b&gt;";
      }
  }
  
  class Program
  {
      static void Main(string[] args)
      {
          var options = new StartOptions();
          options.Urls.Add("http://+:8181");
  
          using (WebApp.Start&lt;Startup&gt;(options))
          {
              Console.WriteLine("Server started");
  
              Console.ReadLine();
          }
      }
  }
  </code></pre>