fix: getリクエストからdigestを削除

This commit is contained in:
usbharu 2023-04-29 14:46:22 +09:00
parent 2c844022ef
commit 6ae140a58d
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ suspend fun HttpClient.postAp(urlString: String, username: String, jsonLd: JsonL
suspend fun HttpClient.getAp(urlString: String,username: String):HttpResponse {
return this.get(urlString){
header("Accept",ContentType.Application.Activity)
header("Signature","keyId=\"$username\",algorithm=\"rsa-sha256\",headers=\"(request-target) digest date\"")
header("Signature","keyId=\"$username\",algorithm=\"rsa-sha256\",headers=\"(request-target) date\"")
}
}