diff --git a/check.py b/check.py index 9d9c90e..ade720c 100755 --- a/check.py +++ b/check.py @@ -413,7 +413,7 @@ def checkPolicyFile(result, domain): return result.error('connect') try: - conn.request('GET', path) + conn.request('GET', path, headers={"User-Agent": "mta-sts (https://github.com/aykevl/mta-sts)"}) res = conn.getresponse() if res.status == 404: return result.error('policy-not-found')