MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / do_POST

Method do_POST

lib/cli/tests/test_plus_api.py:652–658  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

650
651 class Proxy(BaseHTTPRequestHandler):
652 def do_POST(self):
653 body = self.rfile.read(int(self.headers["Content-Length"]))
654 seen.append((self.path, self.headers.get("Authorization"), body))
655 self.send_response(201)
656 self.send_header("Content-Length", "2")
657 self.end_headers()
658 self.wfile.write(b"{}")
659
660 def log_message(self, format, *args):
661 pass

Callers

nothing calls this directly

Calls 4

readMethod · 0.45
appendMethod · 0.45
getMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected