How do I get the current url in web2py? -


How do I get the full URL of the current page in web2py? I need a URL (possibly redistributed) in the browser address bar. For example

This is probably the easiest way to generate:

  URL   

You can also collect URLs like this:

  '% s: //% S% s'% (request.env.wsgi_url_scheme, request.env.http_host, request.env.web2py_original_uri)    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -