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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -