setContentType sets body encoding too