Removing apply variants that do not support passing through a custom HTTP code.