(content: str, status_code: int = 200)
| 653 | |
| 654 | |
| 655 | def 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 | |
| 664 | def is_setup_path(path: str) -> bool: |
no outgoing calls
no test coverage detected