mirror of https://github.com/usbharu/Hideout.git
fix: Signatureヘッダーの形式を変更
This commit is contained in:
parent
887db080d0
commit
b5b8a6a73f
|
@ -152,7 +152,7 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
|
|||
|
||||
val signatureHeader = request.headers.getAll("Signature").orEmpty()
|
||||
request.headers.remove("Signature")
|
||||
signatureHeader.map { it.replace("; ",",").replace(";",",") }.forEach { request.header("Signature", it) }
|
||||
signatureHeader.map { it.replace("; ",",").replace(";",",") }.joinToString().let { request.header("Signature", it)}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue