Minor update (to not confuse S3 vs Cloudfront)

This commit is contained in:
Miroslav Stampar
2016-06-24 13:39:13 +02:00
parent 53fc9d6720
commit f91ae32284
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,6 @@ def detect(get_page):
retval |= re.search(r"cloudfront", headers.get("X-Cache", ""), re.I) is not None
retval |= headers.get("X-Amz-Cf-Id") is not None
retval |= re.search(r"AmazonS3", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
if retval:
break