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

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -