mirror of https://github.com/usbharu/Hideout.git
fix: Signatureヘッダーを修正
This commit is contained in:
parent
f9c6ed539a
commit
f4820dfeb5
|
@ -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\"")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue