mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-13 20:56:20 +00:00
fix: getリクエストからdigestを削除
This commit is contained in:
@@ -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\"")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user