https://kotlinlang.org logo
#ktor
Title
# ktor
s

Stefan Oltmann

10/19/2021, 3:50 PM
The official OAuth client sample is so bad... I get a lot of
This API is internal in ktor and should not be used. It could be removed or changed without notice.
warnings for this
append
calls. 😕 https://github.com/ktorio/ktor-documentation/blob/0f2ef73cdc4fce483c2ee8e15c8995e6[…]nt-auth-oauth-google/src/main/kotlin/com/example/Application.kt
d

duuusha

10/19/2021, 5:22 PM
Hi, sorry for the inconvenience. This because the 
StringValuesBuilder
 class that exposes the 
append
 function is incorrectly marked with the 
InternalAPI
 annotation (https://ktor.io/docs/request.html#headers). This should be fixed in v2.0.0.
🙏 2
👍 3
14 Views