I'm trying to obtain the base URL (hostname) of the server in which my appengine app is running on.
Ie something along the lines of
wsgiref.util.application_uri(self.request.environ)
However it's returning the PATH_INFO which I do not want. Perhaps I'm missing something but even this article states the path info should be omitted. http://docs.python.org/library/wsgiref.html
http://9.latest.my-app.appspot.com
is basically along the lines of what i'm trying to retrieve. Instead it's returning
http://9.latest.my-app.appspot.com/my/requested/path