applehttp: fix variant discard logic