Allow the content-type to be overridden.