Mojito.Headers.get_values

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

get_values(headers, name)

View Source

Specs

get_values(headers(), String.t()) :: [String.t()]

Returns all values for the given HTTP request or response header. Returns an empty list if none found.

Header names are matched case-insensitively.

Example:

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