Closed kramlex closed 2 years ago
Andrey Aksenov 9 hours ago 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.
append:
with(builder.headers) { append("Accept", "application/json") }