MCPcopy Create free account
hub / github.com/csound/csound / _SendNothingAndDie

Method _SendNothingAndDie

Emscripten/examples/httpd.py:117–122  ·  view source on GitHub ↗
(self, result=0)

Source from the content-addressed store, hash-verified

115 return delegate
116
117 def _SendNothingAndDie(self, result=0):
118 self.send_response(200, 'OK')
119 self.send_header('Content-type', 'text/html')
120 self.send_header('Content-length', '0')
121 self.end_headers()
122 self.server.Shutdown(result)
123
124 def send_head(self):
125 delegate = self._FindDelegateForURL(self.path)

Callers 2

do_GETMethod · 0.95
base_do_POSTMethod · 0.95

Calls 1

ShutdownMethod · 0.45

Tested by

no test coverage detected