mirror of https://github.com/usbharu/Hideout.git
fix: signatureヘッダーを修正
This commit is contained in:
parent
0c0bfa8b2d
commit
63d812ce35
|
@ -122,7 +122,7 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
|
|||
}
|
||||
|
||||
override fun addHeader(name: String?, value: String?) {
|
||||
name?.let { request.header(it, value) }
|
||||
name?.let { request.header(it, "\"${value?.trim(',')}\"") }
|
||||
}
|
||||
|
||||
override fun method(): String {
|
||||
|
@ -135,7 +135,6 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
|
|||
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue