I've made some confusion with request.args, but the point still stands that 
you should be using args instead of request.args.

I can tell you the restful decorator doesn't care if it's a PUT or a PATCH 
as it gets the method from request.env.http_method.

So you're probably on the right track and your webserver may not be 
accepting it, maybe for overly cautious security configurations. I know 
nginx has a limit_except option and Apache also has a Limit and LimitExcept 
directive. I'm not sure if these give you a 400 error so it's also possible 
that something in your request is exceeding size limits on the webserver 
and that would give you a 400.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to