We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b759a31 commit 02da9caCopy full SHA for 02da9ca
1 file changed
app/src/main/java/at/bitfire/icsdroid/AppHttpClient.kt
@@ -16,6 +16,7 @@ import io.ktor.client.engine.HttpClientEngine
16
import io.ktor.client.engine.okhttp.OkHttp
17
import io.ktor.client.plugins.HttpTimeout
18
import io.ktor.client.plugins.UserAgent
19
+import io.ktor.client.plugins.cookies.HttpCookies
20
import okhttp3.brotli.BrotliInterceptor
21
import okhttp3.internal.tls.OkHostnameVerifier
22
import javax.net.ssl.SSLContext
@@ -79,6 +80,9 @@ class AppHttpClient @AssistedInject constructor(
79
80
socketTimeoutMillis = 60_000
81
}
82
83
+ // Enable cookie storage - in memory, will be lost on app restart
84
+ install(HttpCookies)
85
+
86
// Disable redirect following, it's handled by CalendarFetcher
87
followRedirects = false
88
0 commit comments