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

Method send_response

Lib/BaseHTTPServer.py:378–396  ·  view source on GitHub ↗

Send the response header and log the response code. Also send two standard headers with the server software version and the current date.

(self, code, message=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

send_errorMethod · 0.95
send_headMethod · 0.80
list_directoryMethod · 0.80
do_GETMethod · 0.80
send_documentMethod · 0.80
do_POSTMethod · 0.80
report_404Method · 0.80
run_cgiMethod · 0.80

Calls 5

log_requestMethod · 0.95
send_headerMethod · 0.95
version_stringMethod · 0.95
date_time_stringMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected