Set default content type and encoding