fix: signatureヘッダーを修正

This commit is contained in:
usbharu 2023-03-31 13:58:18 +09:00
parent 0c0bfa8b2d
commit 63d812ce35
1 changed files with 1 additions and 2 deletions

View File

@ -122,7 +122,7 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
} }
override fun addHeader(name: String?, value: String?) { override fun addHeader(name: String?, value: String?) {
name?.let { request.header(it, value) } name?.let { request.header(it, "\"${value?.trim(',')}\"") }
} }
override fun method(): String { override fun method(): String {
@ -135,7 +135,6 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
}) })
} }
} }