On Sat, Nov 14, 2009 at 1:13 PM, harryh <[email protected]> wrote: > > Hrm. They are *not* ignored with the following request: > > POST /index?foo=bar HTTP/1.1 > Host: localhost > Content-Length: 0 > Content-Type: application/x-www-form-urlencoded > > Okay... I understand what's going on. Please open a ticket on this.
Basically, we're parsing none of the query params unless the POST is form encoded. I think the correct behaviour is to parse the query params if there's not Content-Type. > Will look into the spec. > > -harryh > > On Nov 14, 4:10 pm, David Pollak <[email protected]> > wrote: > > This is defined behaviour in Lift. :-( > > > > And query params are ignored during POST processing. > > > > Does the HTTP or Servlet spec define the appropriate behaviour here? If > > Lift is violating either, we'll change Lift. > > > > On Sat, Nov 14, 2009 at 12:36 PM, harryh <[email protected]> wrote: > > > > > POST /path/to/page?foo=bar HTTP/1.1 > > > Host: harryh.org > > > Content-Length: 0 > > > > > req.param("foo") will return Empty instead of Full("bar") > > > > > -harryh > > > > -- > > Lift, the simply functional web frameworkhttp://liftweb.net > > Beginning Scalahttp://www.apress.com/book/view/1430219890 > > Follow me:http://twitter.com/dpp > > Surf the harmonics > > > -- 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 -~----------~----~----~----~------~----~------~--~---
