title: Read cookie text value in a Python Bottle application
body: <p>I am trying to figure out how cookies work in a Python <a href="http://bottlepy.org/docs/dev/index.html" rel="nofollow">Bottle</a> application. Please be kind as I am pretty new to Python. How do I read a value out of the cookie that I have set?</p>
  
  <p>Example:</p>
  
  <pre><code>@route('/cookie_setpage/')
  def settingcookie():
      response.set_cookie('Cookie_name','Some value')
      return 'Set!'
  
  @route('/cookie_readpage/')
  def testingcookie():
      r=request.get_cookie('Cookie_name')
      return str(r)
  </code></pre>
  
  <p>When I do this I get the text "None" as return, which seems to be the default value or something. How am I suppose to access the text 'Some value' from the cookie got with <code>get_cookie</code>?</p>