On Mon, Feb 16, 2009 at 3:44 PM, Tim Perrett <[email protected]> wrote:
> > It appears that DPP is solving your issue now :-) > > However, for the record, I do exactly what you describe in terms of > PUT / POST - this is a fairly normal ROA (but with objective-c > clients, not javascript). FYI... if you have xml messages, you can > access the xml automagically in your dispatching: > > req.xml_? // => boolean to check if its an xml body > req.xml // => the actual xml passed (do whatever parsing) > > Not sure if im adding any value to this conversation - so please say > if im just confusing you! REST services in lift is something I care > about a lot and ensuring its correct is of great importance to me :-) Tim, The Lift bug was that it was not respecting the Content-Type except in a few cases. The change is better all around and I believe will support any mime type with more flexibility. The current "special case" mime types are XML, multi-part mime, and forms. All other mime types will just pass the request body on the Req instance. This should make doing web services better in Lift. Thanks, David > > > Cheers, Tim > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" 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/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
