mirror of https://github.com/usbharu/Hideout.git
fix: getリクエストからdigestを削除
This commit is contained in:
parent
2c844022ef
commit
6ae140a58d
|
@ -47,7 +47,7 @@ suspend fun HttpClient.postAp(urlString: String, username: String, jsonLd: JsonL
|
||||||
suspend fun HttpClient.getAp(urlString: String,username: String):HttpResponse {
|
suspend fun HttpClient.getAp(urlString: String,username: String):HttpResponse {
|
||||||
return this.get(urlString){
|
return this.get(urlString){
|
||||||
header("Accept",ContentType.Application.Activity)
|
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\"")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue