lowercase `authorization`

master
pooya parsa 2019-05-22 19:15:12 +04:30
parent 7ad6645d8a
commit 0f1dc174eb
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class HTTP {
setToken(token, type) {
const value = !token ? null : (type ? type + ' ' : '') + token
this.setHeader('Authorization', value)
this.setHeader('authorization', value)
}
_hook(name, fn) {