Allow content-type to be specified.