From: kimbo Date: Mon, 23 Dec 2019 21:24:56 +0000 (-0700) Subject: forgot to remove a couple lines X-Git-Tag: v2.0.0rc1~342^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=775b23fe266d88a2262a44e023a3f65b7f79a5f5;p=thirdparty%2Fdnspython.git forgot to remove a couple lines --- 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