title: Webpy: how to set http status code to 300
body: <p>Maybe it is a stupid question but I cannot figure out how to a http status code in webpy.</p>
  
  <p>In the documentation I can see a list of types for the main status codes, but is there a generic function to set the status code?</p>
  
  <p>I'm trying to implement an <code>unAPI</code> server and it's required to reply with a <code>300 Multiple Choices</code> to a request with only an identifier. More info <a href="http://unapi.info/specs/" rel="noreferrer">here</a></p>
  
  <p>Thanks!</p>
  
  <p>EDIT: I just discovered that I can set it through <code>web.ctx</code> doing </p>
  
  <p><code>web.ctx.status = '300 Multiple Choices'</code></p>
  
  <p>is this the best solution?</p>