MCPcopy Index your code
hub / github.com/python/cpython / do_HEAD

Method do_HEAD

Lib/test/test_urllib2_localnet.py:221–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

219 pass
220
221 def do_HEAD(self):
222 self.send_response(200)
223 self.send_header("Content-type", "text/html")
224 self.end_headers()
225
226 def do_AUTHHEAD(self):
227 self.send_response(401)

Callers

nothing calls this directly

Calls 3

send_responseMethod · 0.80
send_headerMethod · 0.80
end_headersMethod · 0.45

Tested by

no test coverage detected