This references https://github.com/houseabsolute/webmachine-perl/issues/27

We need to ensure that we always get the Content-Type header by calling $request->header('Content-Type') rather than $request->content_type. The latter doesn't actually look at the headers object, meaning we don't get the inflated ActionPack header.