# `Cartouche.HTTP`
[🔗](https://github.com/zenhive/cartouche/blob/main/lib/cartouche/http.ex#L1)

HTTP helpers used by cartouche's RPC transports.

# `normalize_finch_result`

```elixir
@spec normalize_finch_result({:ok, Finch.Response.t()} | {:error, term()}) ::
  {:ok, Finch.Response.t()} | {:error, Finch.Response.t() | String.t()}
```

Normalizes the result of a `Finch` request.

Any non-2xx status codes are wrapped in `{:error, _}`.
Other Finch errors abstract away the details of Finch.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
