Repository: ktorio/ktor
File: ktor-client/ktor-client-core/common/src/io/ktor/client/HttpClientConfig.kt (Kotlin)

Code before:
     */
    public var followRedirects: Boolean = true

    /**
     * Enable body transformations for many common types like [String], [ByteArray], [ByteReadChannel], etc.
     * These transformations are applied to the request and response bodies.
     *
     * The transformers will be used when the response body is received with a type:
     * ```kotlin
     * val client = HttpClient()
     * val bytes = client.get("https://ktor.io")
     *                   .body<ByteArray>()
     * ```
     *
     * The flag is enabled by default.
     * You might want to disable it if you want to write your own transformers or handle body manually.
     *
     * Check [defaultTransformers] documentation for more details.
     */
    public var useDefaultTransformers: Boolean = true

    /**
     * Terminates [HttpClient.receivePipeline] if the status code is not successful (>=300).
     * Learn more from [Response validation](https://ktor.io/docs/response-validation.html).
     *
     * Please check [HttpCallValidator] documentation to learn more details.
     */
    public var expectSuccess: Boolean = false

    /**
     * Development mode is no longer required all functionality is enabled by default. The property is safe to remove.
     */
    @Deprecated(
        "Development mode is no longer required. The property will be removed in the future.",
        level = DeprecationLevel.WARNING,
        replaceWith = ReplaceWith("")
    )
    public var developmentMode: Boolean = PlatformUtils.IS_DEVELOPMENT_MODE

    /**
     * Installs the specified [plugin] and optionally configures it using the [configure] block.
     *
     * ```kotlin
     * val client = HttpClient {
     *     install(ContentNegotiation) {
     *         // configuration block
     *         json()
     *     }
     * }
     * ```
     *

Review comment (suggestion):
```suggestion
     * For more details, see the [HttpCallValidator] documentation.
```

Code after:
     */
    public var followRedirects: Boolean = true

    /**
     * Enables body transformations for many common types like [String], [ByteArray], [ByteReadChannel], etc.
     * These transformations are applied to the request and response bodies.
     *
     * The transformers will be used when the response body is received with a type:
     * ```kotlin
     * val client = HttpClient()
     * val bytes = client.get("https://ktor.io")
     *                   .body<ByteArray>()
     * ```
     *
     * This flag is enabled by default.
     * You might want to disable it if you want to write your own transformers or handle body manually.
     *
     * For more details, see the [defaultTransformers] documentation.
     */
    public var useDefaultTransformers: Boolean = true

    /**
     * Terminates [HttpClient.receivePipeline] if the status code is not successful (>=300).
     * Learn more from [Response validation](https://ktor.io/docs/response-validation.html).
     *
     * For more details, see the [HttpCallValidator] documentation.
     */
    public var expectSuccess: Boolean = false

    /**
     * Development mode is no longer required all functionality is enabled by default. The property is safe to remove.
     */
    @Deprecated(
        "Development mode is no longer required. The property will be removed in the future.",
        level = DeprecationLevel.WARNING,
        replaceWith = ReplaceWith("")
    )
    public var developmentMode: Boolean = PlatformUtils.IS_DEVELOPMENT_MODE

    /**
     * Installs the specified [plugin] and optionally configures it using the [configure] block.
     *
     * ```kotlin
     * val client = HttpClient {
     *     install(ContentNegotiation) {
     *         // configuration block
     *         json()
     *     }
     * }
     * ```
     *