WIP: check charset in content-type