On Wed, Jul 2, 2008 at 1:14 AM, jimbo <[EMAIL PROTECTED]> wrote: > > Hi, > > thanks for the link - I did find it myself also but it could not solve > my problem ... however I looked into the RequestHandler code and > realized that Content-type that the Googles RESTClient 2.1 > (Wiztools.org) is sending when posting XML content is "application/ > xml; charset=UTF-8" and this is not understood by the Cake > RequestHandler as an xml type, it should be either text/xml or > application/xml, but not with the charset=UTF-8 addition. This can be > added/replaced in RequestHandler by using controller's beforeFilter, > for example.
You should open a ticket in trac.cakephp.org that is a case that should be handled if only to be more flexible with the idea of Postel's Law. (Postel's law is the principle that you should be conservative in what you create and liberal in what you accept.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
