fix(): don't remove content-type header if data is set by request transf...

...orm

The test could arguably also go into the transform section, not sure about that.

Fixes #7910