Set default content-type to text/plain
Merged bug25896 into default