On Fri, Feb 5, 2010 at 1:03 PM, Jeppe Nejsum Madsen <[email protected]>wrote:

> On Fri, Feb 5, 2010 at 6:34 PM, David Pollak
> <[email protected]> wrote:
> > Crud.
> >
> > Can someone do a survey of how other JVM web frameworks handle the PUT
> > inconsistencies on different containers?
>
> Does S.param map directly to the servletrequest  getParameter? If so,
> I think the Servlet Spec explains it:
>
> The following are the conditions that must be met before post form
> data will be populated to the parameter set:
> 1. The request is an HTTP or HTTPS request.
> 2. The HTTP method is POST.
> 3. The content type is application/x-www-form-urlencoded.
> 4. The servlet has made an initial call of any of the getParameter
> family of methods on the request object.
>

Okay... so at the very least Jetty violates the spec.

We can change things up so that Lift does its own interpretation of the PUT
body.  If we do this before we call getParameter, then I think we avoid
problems in Jetty.

Once Assembla is accepting tickets (sometime after sundown EST Saturday)
please open a ticket on Assembla.  Either Marius or I will work on it.


>
> /Jeppe
>
> --
> 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]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

-- 
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.

Reply via email to