 the client if the request matches the provided condition. 
</p>

<pre><code>redirect(location, status) { ..condition.. }</code></pre>

</dd>
<dt>Parameters:</dt>
<dd>
<dl class="mruby-method-parameters">
  <dt>location</dt>
  <dd>Location to which the client will be redirected. Required.</dd>
  <dt>status</dt>
  <dd>Status code of the response. Default value: 302</dd>
</dl>
</dd>
</dl>

<div id="respond" class="mruby-method-head">
<h3><a href="configure/access_control.html#respond"><code>"respond"</code></