# `Tinkex.Tokenizer.HTTPClient`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/tokenizer/http_client.ex#L1)

HTTP client adapter for HuggingFace downloads used by `tokenizers`.

The upstream `Tokenizers.HTTPClient` relies on `CAStore.file_path/0`, which
points at a `priv/` file that is not available inside an escript archive.

This adapter uses OTP-provided CA certs (`:public_key.cacerts_get/0`) so the
`./tinkex` CLI can download tokenizers at runtime.

# `request`

```elixir
@spec request(keyword()) ::
  {:ok,
   %{status: pos_integer(), headers: [{String.t(), String.t()}], body: binary()}}
  | {:error, term()}
```

---

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