improved content_type detection for rpc-path_info bridge