From 28688e9386ed3d7ef45e190f6d7ab525f77decea Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Fri, 31 Mar 2023 12:45:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Digest=E3=83=98=E3=83=83=E3=83=80?= =?UTF-8?q?=E3=83=BC=E3=81=AB=E3=83=AD=E3=82=B0=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/dev/usbharu/hideout/plugins/ActivityPub.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/plugins/ActivityPub.kt b/src/main/kotlin/dev/usbharu/hideout/plugins/ActivityPub.kt index 9a825d29..0dfb5c30 100644 --- a/src/main/kotlin/dev/usbharu/hideout/plugins/ActivityPub.kt +++ b/src/main/kotlin/dev/usbharu/hideout/plugins/ActivityPub.kt @@ -49,7 +49,8 @@ val httpSignaturePlugin = createClientPlugin("HttpSign",::HttpSignaturePluginCon request.header("Date", format.format(Date())) - + println(request.bodyType) + println(request.bodyType?.type) if (request.bodyType?.type == String::class) { println("Digest !!") val digest =