MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / send_head

Method send_head

Lib/SimpleHTTPServer.py:55–97  ·  view source on GitHub ↗

Common code for GET and HEAD commands. This sends the response code and MIME headers. Return value is either a file object (which has to be copied to the outputfile by the caller unless the command was HEAD, and must be closed by the caller under all circumstances),

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

do_GETMethod · 0.95
do_HEADMethod · 0.95

Calls 15

translate_pathMethod · 0.95
list_directoryMethod · 0.95
guess_typeMethod · 0.95
strFunction · 0.85
endswithMethod · 0.80
send_responseMethod · 0.80
send_headerMethod · 0.80
end_headersMethod · 0.80
send_errorMethod · 0.80
date_time_stringMethod · 0.80
openFunction · 0.70
isdirMethod · 0.45

Tested by

no test coverage detected