set content-type for redirect when accpect plain