Mojito.Headers.delete

You're seeing just the function delete, go back to Mojito.Headers module for more information.

Specs

delete(headers(), String.t()) :: headers()

Removes all instances of the given header.

Header names are matched case-insensitively.

Example:

iex> headers = [
...>   {"header1", "foo"},
...>   {"header2", "bar"},
...>   {"Header1", "baz"}
...> ]
iex> Mojito.Headers.delete(headers, "HEADER1")
[{"header2", "bar"}]