title: BottlePy - How can I find the current route from within a hook?
body: <p>I have the following hook in <a href="http://bottlepy.org/docs/stable/" rel="nofollow">BottlePy</a>:</p>
  
  <pre><code>@bottle_app.hook('before_request')
  def update_session():
      # do stuff
      return
  </code></pre>
  
  <p>And some routes:</p>
  
  <pre><code>@bottle_app.route('/')
  def index():
      return render('index')
  
  @bottle_app.route('/example')
  def example():
      return render('example')
  </code></pre>
  
  <p><strong>From within <code>update_session()</code>, how can I determine which route is being called?</strong></p>
  
  <p>I have looked through the documentation to no avail, but surely this is possible?</p>