rrset = None
return rrset
- def to_wire(self, origin=None, max_size=0, multi=False, tsig_ctx=None, **kw):
+ def to_wire(self, origin=None, max_size=0, multi=False, tsig_ctx=None,
+ **kw):
"""Return a string containing the message in DNS compressed wire
format.
wire = base64.urlsafe_b64encode(wire).rstrip(b"=")
response = session.get(url, headers=headers,
timeout=timeout, verify=verify,
- params={"dns" : wire})
+ params={"dns": wire})
# see https://tools.ietf.org/html/rfc8484#section-4.2.1 for info about DoH
# status codes