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

Method base_do_POST

Emscripten/examples/httpd.py:157–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 return self.base_do_POST()
156
157 def base_do_POST(self):
158 if self.server.test_mode:
159 if self.path == '/ok':
160 self._SendNothingAndDie(0)
161 elif self.path == '/fail':
162 self._SendNothingAndDie(1)
163
164
165class LocalHTTPServer(object):

Callers 1

do_POSTMethod · 0.95

Calls 1

_SendNothingAndDieMethod · 0.95

Tested by

no test coverage detected