fix: Signatureヘッダーを修正

This commit is contained in:
usbharu 2023-04-29 14:25:12 +09:00
parent f9c6ed539a
commit f4820dfeb5
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-sha\",headers=\"(request-target) digest date\"")
header("Signature","keyId=\"$username\",algorithm=\"rsa-sha256\",headers=\"(request-target) digest date\"")
}
}