Description
Problem is it blindly appends the request's charset to the content-type. I have run across at least one situation where the CT already a charset – resulting in two in the generated CT – an invalid representation. Prune the existing one first (in case its incorrect) and then append the request's.