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

Class HubHTTPHandler

tests/test_kaggle_module_resolver.py:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 test_server.shutdown()
38
39class HubHTTPHandler(BaseHTTPRequestHandler):
40 def do_GET(self):
41 self.send_response(200)
42 self.send_header('Content-Type', 'application/gzip')
43 self.end_headers()
44
45 with open('/input/tests/data/model.tar.gz', 'rb') as model_archive:
46 self.wfile.write(model_archive.read())
47
48class KaggleJwtHandler(BaseHTTPRequestHandler):
49 def do_POST(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected