]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
forgot to remove a couple lines
authorkimbo <kimballleavitt@gmail.com>
Mon, 23 Dec 2019 21:24:56 +0000 (14:24 -0700)
committerkimbo <kimballleavitt@gmail.com>
Mon, 23 Dec 2019 21:24:56 +0000 (14:24 -0700)
dns/query.py

index a2d126e88aac301204a9543e347db518001cfb1e..5cd00d393f9867ab5a31a1e01ed3efcc4fd2ee69 100644 (file)
@@ -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