async def search_raw(
    httpreq: Request, bloomcheck_endpoint: str = Depends(check_bloomcheck_endpoint)
) -> list[BloomHit]:
    """Checks the bloomcheck microservice for hits."""
    values = await httpreq.body()
    try:
        response = requests.post(
            f"{bloomcheck_endpoint}/check/raw",
            data=values,
        )
    except requests.ConnectionError as e:
        raise HTTPException(
            status_code=503,
            detail=f"Error connecting to bloomcheck: {e}",
        )
    if response.status_code != 200:
        raise HTTPException(
            status_code=response.status_code,
            detail=f"Error fetching bloomcheck: {response.text}",
        )

    data = response.json()
    if not data:
        return []
    return [BloomHit(**hit) for hit in data]
Checks the bloomcheck microservice for hits.
core/web/apiv2/bloom.py