serializer for class io.ktor.client.utils.EmptyContent. For generic classes, such as lists, please provide serializer explicitly
                  
                  
                  
                  
                  
                  Можно ли написать extension к val client: HttpClient = HttpClient {
                  
                  
                              install(JsonFeature)
                  
                  
                          } 
                  
                  
                  
                  
                  
                  вида 
                  
                  
                  
                  
                  
                  serializer = KotlinxSerializer(Json.nonstrict).apply {
                  
                  
                                      register<io.ktor.client.utils.EmptyContent>(EmptyContent.serializer())
                  
                  
                                      setMapper(io.ktor.client.utils.EmptyContent::class, EmptyContent.serializer())
                  
                  
                                  }
                  
                  
                  ?
                  
                  
                  Если да, как он должен выглядеть?
                  
                  
                
https://github.com/ktorio/ktor/issues/904 это вроде должны пофиксить в 1.2 или срочно надо?
Обсуждают сегодня