inaka / tirerl

Erlang interface to Elastic Search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow send Authentication HTTP header

ferigis opened this issue · comments

If the ES server has security enabled it is expected to receive a authorization header

[{<<"Authorization">>, <<"Basic ZWxhc3RpYzpjaGFuZ2VtZQ==">>}]

(this is the user by default)

tirerl should let the user to add that authentication