parameters: (self)
docstring: Send response headers
docstring_summary: Send response headers
docstring_tokens: Send response headers
function: def do_HEAD(self):
          """Send response headers"""
          if self.path != "/":
              return SimpleHTTPServer.SimpleHTTPRequestHandler.do_HEAD(self)
          self.send_response(200)
          self.send_header("content-type", "text/html;charset=utf-8")
          self.send_header('Access-Control-Allow-Origin', '*')
          self.end_headers()
function_tokens: def do_HEAD ( self ) : if self . path != "/" : return SimpleHTTPServer . SimpleHTTPRequestHandler . do_HEAD ( self ) self . send_response ( 200 ) self . send_header ( "content-type" , "text/html;charset=utf-8" ) self . send_header ( 'Access-Control-Allow-Origin' , '*' ) self . end_headers ( )