docs: def request_url(req=None):
      """
      Get full url of a request
      """
      from uliweb import request
  
      r = req or request
      if request:
          if r.query_string:
              return r.path + '?' + r.query_string
          else:
              return r.path
      else:
          return ''