> What's the best way to get the top domain? We can do
> url.substring(lastindexof('.')) though a reg ex seems preferrable.In Django I use request.META['SERVER_NAME'], I guess os.environ ['SERVER_NAME'] should also work if you don't use Django. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
