]> granicus.if.org Git - ejabberd/commit
Add support for REST API custom headers
authorChristophe Romain <christophe.romain@process-one.net>
Thu, 17 May 2018 12:47:21 +0000 (14:47 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Thu, 17 May 2018 12:47:21 +0000 (14:47 +0200)
commitdb51d522e8cec53523fb2b963c945bab09fcec0f
tree5662a4cbbd5775a0e1e0ea1776c17604f0999589
parent82c42051c3b8f85e187c0ead4e66dfdfac2595a2
Add support for REST API custom headers

ext_api_headers can be defined as a single string. Headers are separated
by comma. Definition MUST NOT contain spaces. Example
"X-MyHead:test,X-Token:082748"
src/rest.erl