File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/src/main/java/at/bitfire/icsdroid Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import io.ktor.client.engine.HttpClientEngine
1717import io.ktor.client.engine.okhttp.OkHttp
1818import io.ktor.client.plugins.HttpTimeout
1919import io.ktor.client.plugins.UserAgent
20+ import io.ktor.client.plugins.cookies.HttpCookies
2021import okhttp3.brotli.BrotliInterceptor
2122import okhttp3.internal.tls.OkHostnameVerifier
2223import javax.net.ssl.SSLContext
@@ -81,6 +82,9 @@ class AppHttpClient @AssistedInject constructor(
8182 socketTimeoutMillis = 60_000
8283 }
8384
85+ // Enable cookie storage - in memory, will be lost on app restart
86+ install(HttpCookies )
87+
8488 // Disable redirect following, it's handled by CalendarFetcher
8589 followRedirects = false
8690 }
You can’t perform that action at this time.
0 commit comments