MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / post_stream

Function post_stream

server/scripts/test_server_integration.py:45–47  ·  view source on GitHub ↗
(path, body, timeout=GEN_TIMEOUT)

Source from the content-addressed store, hash-verified

43
44
45def post_stream(path, body, timeout=GEN_TIMEOUT):
46 return requests.post(f"{SERVER_URL}{path}", json=body,
47 stream=True, timeout=timeout)
48
49
50def parse_sse_events(response):

Calls

no outgoing calls

Tested by

no test coverage detected