The correct type for HTML documents is text/html. The correct type for XHTML documents "should" be application/xhtml+xml, however - IE (maybe not all versions) will bork on that and will not render, but instead give you a save dialog.
If your validator fails on "partial" documents, that should be expected, unless you can instruct it in a way that it knows it's a partial code it's processing. I am not sure that there's a type that explicitly defines the content as partial-XML though. I'd say that you should keep the content type what it originally was (say application/xhtml+xml), since it's essentially the correct type for what you're serving. See http://www.ietf.org/rfc/rfc3023.txt and/or http://www.w3.org/TR/xhtml-media-types/. I'm not really sure what'd be fully correct in your case, to be honest, the media type specifications are quite messy on that. And again - mind that "application/xhtml+xml" Will break in some implementations of IE. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---