[Catalyst] XML MIME types (was: Catalyst and chrome url (xul))

A. Pagaltzis pagaltzis at gmx.de
Tue Sep 25 17:26:37 GMT 2007


* Javier E. Perez P. <templeofdvst at gmail.com> [2007-09-23 10:20]:
> i already change the http header content_type to text/xml

Don’t use `text/xml`, it is broken for numerous esoteric reasons,
mostly to do with encodings. The easiest completely correct thing
you can do is to use `application/xml` without a charset parameter
in the HTTP header, making sure you specify the document encoding
in the XML preamble instead.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list