From 775b23fe266d88a2262a44e023a3f65b7f79a5f5 Mon Sep 17 00:00:00 2001 From: kimbo Date: Mon, 23 Dec 2019 14:24:56 -0700 Subject: [PATCH] forgot to remove a couple lines --- dns/query.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dns/query.py b/dns/query.py index a2d126e8..5cd00d39 100644 --- a/dns/query.py +++ b/dns/query.py @@ -257,8 +257,6 @@ def https(q, where, timeout=None, port=443, path='/dns-query', post=True, source, source_port) if source is None: source = ('', 0) - if headers is None: - headers = {} with requests.Session() as session: # set source port and source address # see https://github.com/requests/toolbelt/blob/master/requests_toolbelt/adapters/source.py -- 2.47.3