self.request.host_url should return url without path.

On Nov 10, 4:13 pm, jago <[EMAIL PROTECTED]> wrote:
> I wonder how to get the 'host' of an application.
>
> As 'host' I meanhttp://localhost:8080orhttp://www.example.com/?
>
> With self.request.url I have the current host + path. Is there a clean
> way to only get the host without splitting strings?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to