Pristine.Core.Headers (Pristine v0.4.0)

Copy Markdown View Source

Header normalization and merging utilities.

Summary

Functions

build(base_headers, endpoint_headers, auth_modules, extra_headers, content_type)

@spec build(map(), map(), list(), map(), binary() | nil) ::
  {:ok, map()} | {:error, term()}