Hmpf. Same problem here :( def statefulDispatchTable: LiftRules.DispatchPF = { ... case r...@req(List("api", "foo"), "", PutRequest) => () => update(req) ... }
def update(req: Req): LiftResponse = { for (name <- req.paramNames) { Log.info(name) Log.info(req.param(name).openOr("empty")) } ... } On Jetty: 209467 [736850...@qtp-566947760-0] INFO lift - param 209467 [736850...@qtp-566947760-0] INFO lift - value 209476 [736850...@qtp-566947760-0] INFO lift - Service request (PUT) /api/foo took 17 Milliseconds curl -v -X PUT -d "param=value" -b JSESSIONID=v7a6qye5zusv http://localhost:8080/api/foo * About to connect() to localhost port 8080 (#0) * Trying ::1... connected * Connected to localhost (::1) port 8080 (#0) > PUT /api/users/0505710286 HTTP/1.1 > User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g > zlib/1.2.3.3 libidn/1.15 > Host: localhost:8080 > Accept: */* > Cookie: JSESSIONID=v7a6qye5zusv > Content-Length: 49 > Content-Type: application/x-www-form-urlencoded > < HTTP/1.1 200 OK < Content-Length: 0 < Content-Type: text/html; charset=utf-8 < X-Lift-Version: 2.0-M1 < Server: Jetty(6.1.22) < * Connection #0 to host localhost left intact * Closing connection #0 On Tomcat: 170570 [http-8080-2] INFO lift - Service request (PUT) /tumps-server/ api/users/0505710286 took 12 Milliseconds curl -v -X PUT -d "param=value" -b JSESSIONID=68EE8A10FFBC2E5383FB9FD2821CF0E1 http://localhost:8080/myserver/api/foo * About to connect() to localhost port 8080 (#0) * Trying ::1... connected * Connected to localhost (::1) port 8080 (#0) > PUT /tumps-server/api/users/0505710286 HTTP/1.1 > User-Agent: curl/7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g > zlib/1.2.3.3 libidn/1.15 > Host: localhost:8080 > Accept: */* > Cookie: JSESSIONID=68EE8A10FFBC2E5383FB9FD2821CF0E1 > Content-Length: 49 > Content-Type: application/x-www-form-urlencoded > < HTTP/1.1 200 OK < Server: Apache-Coyote/1.1 < X-Lift-Version: 2.0-M1 < Content-Type: text/html;charset=utf-8 < Content-Length: 0 < Date: Fri, 05 Feb 2010 16:28:23 GMT < * Connection #0 to host localhost left intact * Closing connection #0 -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.