Print out denied host.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
+2
-2
@@ -40,8 +40,8 @@ try:
|
|||||||
print "Status: 502 Bad Gateway"
|
print "Status: 502 Bad Gateway"
|
||||||
print "Content-Type: text/plain"
|
print "Content-Type: text/plain"
|
||||||
print
|
print
|
||||||
print "This proxy does not allow you to access that location."
|
print "This proxy does not allow you to access that location (%s)." % (host,)
|
||||||
print
|
print
|
||||||
print os.environ
|
print os.environ
|
||||||
|
|
||||||
elif url.startswith("http://") or url.startswith("https://"):
|
elif url.startswith("http://") or url.startswith("https://"):
|
||||||
|
|||||||
Reference in New Issue
Block a user