Hello, I'm having some issues with the XML parser in my REST API. I have API's clients sending an XML with the parameters specifying Content-Type: application/xml in the request. My issue is that I have a client sending 'Content-Type: text/xml; charset=UTF-8', and with this header rails ignores the XML sent, so I'm not getting the parameters. Is this a known issue or is a problem from the client? Thank you and best regards -- Ernesto Jiménez Caballero ernesto.jimenez@negonation.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
> I''m having some issues with the XML parser in my REST API. I have > API''s clients sending an XML with the parameters specifying > Content-Type: application/xml in the request. > > My issue is that I have a client sending ''Content-Type: text/xml; > charset=UTF-8'', and with this header rails ignores the XML sent, so > I''m not getting the parameters. > > Is this a known issue or is a problem from the client?The client is doing the right thing, it sounds like a rails bug. What version/revision are you running that triggers this?> Thank you and best regards > > -- > Ernesto Jiménez Caballero > ernesto.jimenez@negonation.com > > > >-- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On 6/27/07, Ernesto Jiménez Caballero <erjica@gmail.com> wrote:> My issue is that I have a client sending ''Content-Type: text/xml; > charset=UTF-8'', and with this header rails ignores the XML sent, so > I''m not getting the parameters. > > Is this a known issue or is a problem from the client?This fails in 1.2.3 (lookup fails with the extra params) but works on trunk. jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---