main: throw on missing Content-Type during instantiation