http_host is the same as server name. It does not say is whether it is http/https and what the port is. Plus web2py may be behind a proxy. there is no reliable way to determine the url and any technique you use can be spoofed by visitors.
it is must easier to declare it. request/my_url='https://mydomain.com:80' On Jul 11, 2:40 pm, Jonathan Lundell <[email protected]> wrote: > On Jul 10, 2009, at 6:13 PM, mdipierro wrote: > > > > > No, web2py cannot determine it. > > It's not HTTP_HOST? > > > > > Massimo > > > On Jul 10, 8:04 pm, Jonathan Lundell <[email protected]> wrote: > >> Is there a standard way to get the current server name for the > >> verification string? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

