MCPcopy Create free account
hub / github.com/Kaggle/docker-python / do_POST

Method do_POST

tests/test_datasets.py:33–38  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

31 s.send_response(200)
32
33 def do_POST(s):
34 s.set_request()
35 s.send_response(200)
36 s.send_header("Content-type", "application/json")
37 s.end_headers()
38 s.wfile.write(json.dumps(s.get_response()).encode("utf-8"))
39
40
41class TestDatasets(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

set_requestMethod · 0.45
get_responseMethod · 0.45

Tested by

no test coverage detected