[openstack-dev] Pecan - PATCH not working on nested REST

Ryan Petrello ryan.petrello at dreamhost.com
Mon Jul 29 15:03:58 UTC 2013


Endre,

Pecan's RestController doesn't seem to provide support for an explicit `patch` method in the manner you're attempting to use it:

http://pecan.readthedocs.org/en/latest/rest.html#url-mapping

On Jul 29, 2013, at 6:32 AM, Endre Karlson <endre.karlson at gmail.com> wrote:

> What am I doing wrong here?
> 
> doing 
> 
> http patch http://localhost:9091/v2/merchants/<uuid> currency=nok < works fine
> http patch http://localhost:9091/v2/merchants/<uuid>/customers/<uuid> currency=nok < fails and doesn't seem to be finding the patch method there even though it's exposed
> 
> https://review.openstack.org/#/c/38981/3/billingstack/api/v2/controllers/customer.py is the controller for example that doesn't work.
> 
> Endre
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list