MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / setup_response

Function setup_response

main.py:655–661  ·  view source on GitHub ↗
(content: str, status_code: int = 200)

Source from the content-addressed store, hash-verified

653
654
655def setup_response(content: str, status_code: int = 200) -> HTMLResponse:
656 return HTMLResponse(
657 content=content,
658 status_code=status_code,
659 media_type="text/html",
660 headers={"Cache-Control": "no-store"},
661 )
662
663
664def is_setup_path(path: str) -> bool:

Callers 3

setup_pageFunction · 0.85
setup_submitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected