MCPcopy Index your code
hub / github.com/rawpython/remi / do_AUTHHEAD

Method do_AUTHHEAD

remi/server.py:608–612  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

606 self.end_headers()
607
608 def do_AUTHHEAD(self):
609 self.send_response(401)
610 self.send_header('WWW-Authenticate', 'Basic realm=\"Protected\"')
611 self.send_header('Content-type', 'text/html')
612 self.end_headers()
613
614 def do_GET(self):
615 # check here request header to identify the type of req, if http or ws

Callers 1

do_GETMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected