mirror of https://github.com/usbharu/Hideout.git
fix: Signatureヘッダーを少し新しい仕様に準拠するように変更
This commit is contained in:
parent
08f45e1a8e
commit
28a543166a
|
@ -149,6 +149,11 @@ val httpSignaturePlugin = createClientPlugin("HttpSign", ::HttpSignaturePluginCo
|
|||
|
||||
|
||||
})
|
||||
|
||||
val signatureHeader = request.headers.get("Signature")
|
||||
val replace = signatureHeader?.replace("; ", ",")?.replace(";",",")
|
||||
request.headers.remove("Signature")
|
||||
request.header("Signature", replace)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue