Question: when your dog throws up mucus?
Answer: Your dog is most likely throwing up white liquid because there's not much else in his stomach to purge. The white foam is a mix of saliva and beaten gastric juices. The mucus lining his stomach is irritated, becoming frothy, and that's what you're seeing come up onto your carpet or floor.