[Catalyst] `text/xml` should be avoided (was: POST problem [resent])

A. Pagaltzis pagaltzis at gmx.de
Mon Mar 20 13:02:39 CET 2006


* Richard Jolly <Richard.Jolly at bbc.co.uk> [2006-03-20 12:50]:
>Changing the content-type of the post to 'text/xml' gets me part
>of the way there.

Note that `text/xml` is a bad idea for a number of esoteric
reasons that have to do with encodings and interactions between
the HTTP and XML specs. Best practice is to use `application/xml`
and avoid specifying a charset in the HTTP header.

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



More information about the Catalyst mailing list