Simon Schubert
05/22/2019, 5:29 PMcy
05/22/2019, 5:29 PMcy
05/22/2019, 5:29 PMcy
05/22/2019, 5:30 PMSimon Schubert
05/22/2019, 5:31 PMcy
05/22/2019, 5:31 PMSimon Schubert
05/22/2019, 5:32 PMSimon Schubert
05/22/2019, 5:32 PMSimon Schubert
05/22/2019, 5:36 PMSimon Schubert
05/22/2019, 5:37 PMcy
05/22/2019, 5:39 PMcy
05/22/2019, 5:39 PMcommonMain {
dependencies {
implementation kotlin('stdlib-common')
implementation "io.ktor:ktor-client-core:1.2.0"
implementation "io.ktor:ktor-client-auth:1.2.0"
}
}
cy
05/22/2019, 5:40 PMcy
05/22/2019, 5:41 PMSimon Schubert
05/22/2019, 5:45 PMSimon Schubert
05/22/2019, 5:46 PMcy
05/22/2019, 5:50 PMjvmMain {
dependencies {
implementation kotlin('stdlib')
implementation "io.ktor:ktor-client-core-jvm:1.2.0"
implementation "io.ktor:ktor-client-auth-jvm:1.2.0"
}
}
Simon Schubert
05/22/2019, 6:09 PMSimon Schubert
05/22/2019, 6:10 PMSimon Schubert
05/22/2019, 6:10 PMSimon Schubert
05/22/2019, 8:13 PMSimon Schubert
05/23/2019, 7:30 AMSimon Schubert
05/23/2019, 6:19 PMimplementation "io.ktor:ktor-client-auth-jvm:$ktor_version"
to the android dependencies finally lets me compile the android project. But somehow it doesn't add a Authorization
header to the request. I double checked everything and checking the reuest with charles but no header gets throught. HttpClient {
install(Auth) {
basic {
username = email
password = pw
}
}
}
Are there any nown issues about that behavoir?Simon Schubert
05/23/2019, 8:22 PM