ktor
ktor copied to clipboard
Prioritize explicit headers
Subsystem Client common engine
Motivation
I've had an issue sending HTTP request with form data. A server was rejecting the request based on content-type. It was expecting application/x-www-form-urlencoded
but FormDataContent adds also an encoding.
Solution Explicitly provided headers should have higher priority then calculated.