3.15: per-gateway 'enabled' flag is not required, defaults to 'true'
3.14: encode media id during content types provided lookup, and add
default case clause