mirror of https://github.com/usbharu/Hideout.git
fix: Signatureヘッダーを少し新しい仕様に準拠するように変更
This commit is contained in:
parent
b72e36ba8c
commit
7915189163
|
@ -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