MCPcopy Create free account
hub / github.com/rthalley/dnspython / handle

Method handle

tests/test_resolver.py:1165–1168  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

1163
1164class FormErrNanoNameserver(Server):
1165 def handle(self, request):
1166 r = dns.message.make_response(request.message)
1167 r.set_rcode(dns.rcode.FORMERR)
1168 return r
1169
1170
1171# we use pytest for these so we can have a "slow" mark later if we want to

Callers

nothing calls this directly

Calls 1

set_rcodeMethod · 0.80

Tested by

no test coverage detected