title: Set OWIN Response Status Code
body: <p>This should be simple, so I must be missing something basic. In my OWIN app, I want to have a catch-all that redirects to the homepage (index.html).</p>
  
  <p>I see no way in the</p>
  
  <pre><code>public Task Invoke(IDictionary&lt;string, object&gt; environment)
  </code></pre>
  
  <p>method to return a response code.</p>