On Mon, Feb 16, 2009 at 4:34 PM, Alan M <[email protected]> wrote:
> > OK just to wrap up for me, because I didn't really follow all the > implications of the change being made.. If I send a Put to a lift web > service I should not be able to see the "file" content in the body of > the Request? (now as in when the update is live/updated on my Maven) yes. And the code is live, so please do an mvn -U clean install and you should see the body of a PUT as long as the Content-Type is not form or multi-part. > > > Alan > > On Feb 16, 3:47 pm, David Pollak <[email protected]> > wrote: > > 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 frameworkhttp://liftweb.net > > Beginning Scalahttp://www.apress.com/book/view/1430219890 > > Follow me:http://twitter.com/dpp > > Git some:http://github.com/dpp > > > -- 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 -~----------~----~----~----~------~----~------~--~---
