. Mruby handler returning the response of http://example.com</div>
<pre><code>paths:
  &quot;/&quot;:
    mruby.handler: |
      Proc.new do |env|
        req = http_request(&quot;http://example.com&quot;)
        status, headers, body = req.join
        [status, headers, body]
      end
</code></pre>
</div>


<p>
<code>http_request</code> is the method that issues a HTTP request.
</p>
<p>
The method takes two arguments.
First argument is the target URI.
Second argument is an optional hash; <code>method</co