mockwebserver / okhttp3.mockwebserver / MockResponse / addHeaderLenient

addHeaderLenient

fun addHeaderLenient(name: String, value: Any): MockResponse

Adds a new header with the name and value. This may be used to add multiple headers with the same name. Unlike addHeader this does not validate the name and value.