harry248
04/05/2022, 6:39 AMonly-if-cached
cache control header? Ktor always responds with status code 504 even if there is a non-stale result in cache.Aleksei Tirman [JB]
04/05/2022, 8:18 AMharry248
04/05/2022, 8:33 AMinstall(HttpCache)
Send some request:
httpClient.get("SOME_URL") {
header(HttpHeaders.CacheControl, "only-if-cached")
}
Shouldn’t fail with status code 504 if there is a response in the http cache, but it does.Aleksei Tirman [JB]
04/05/2022, 8:50 AMSOME_URL
endpoint or give a link to public resource?harry248
04/05/2022, 10:21 AMAleksei Tirman [JB]
04/06/2022, 9:13 AMharry248
04/06/2022, 10:11 AM