#6234 Allow charset complement in content-type

Received text/plain;charset=UTF-8 should match with an expected text/plain