On 10/12/09 5:06 AM, Anne van Kesteren wrote:
FWIW, this is what I've done now. It gives authors a reasonable level of control over the Content-Type header, it does make sure an incorrect charset parameter is fixed, and includes a charset parameter and MIME type if the author did not include a Content-Type header.
Note that it also makes it a PITA for authors to correctly send their XHTML document as application/xhtml+xml with the right charset set. But if that's ok....
-Boris