"text/plain" is great for debugging stuff like this, just be careful of things like internet explorer (and others? are there any), that don't follow the standards, and may or may not decide that it's text, and may instead try to display it as html, or whatever else it feels like.