Let's say we have an image in the Google App Engine and sites are hotlinking it. How can I find the domain names of the sites?
My first thought was:
request.client
and then do a reverse lookup but that it's not possible in GAE and would take a lot of time. I am pretty sure that there is a property that allows me to get the url of the site that is requesting the file (somewhere in request?). GAE has a Request class but I couldn't make it work inside web2py.
Any ideas?