i18next / i18next-xhr-backend

[deprecated] can be replaced with i18next-http-backend
https://github.com/i18next/i18next-http-backend
MIT License
253 stars 75 forks source link

customHeaders function #321

Closed MatthewTrout closed 5 years ago

MatthewTrout commented 5 years ago

Allow options headers to be a function to retrieve dynamic headers. Could extend to pass in some context that's useful for understanding headers required for the given request.. Fixes auth header issue as per #301

jamuhl commented 5 years ago

published in i18next-xhr-backend@3.1.0