CouchDB.HTTP.Headers (couchdb_auth v0.2.4)

View Source

Utility functions for composing HTTP headers used by the adapter.

Summary

Types

header()

@type header() :: {String.t(), String.t()}

Functions

accept(arg1)

@spec accept(:json | :text) :: [header()]

add_header(headers, header_list)

@spec add_header([header()], header() | [header()]) :: [header()]

content_type(arg1)

@spec content_type(:json | :text) :: [header()]

host()

@spec host() :: [header()]