Thanks for your help with this branch. During testing I noticed that maascli was sending the request data in the body, not the query string. As you mentioned piston only processes form data in the query string for request.GET so this doesn't work for us. I modified maascli to send all form data in the query string for DELETE requests. As this is the only DELETE operation in MAAS which accepts parameters there should be no effect on any other calls.
Thanks for your help with this branch. During testing I noticed that maascli was sending the request data in the body, not the query string. As you mentioned piston only processes form data in the query string for request.GET so this doesn't work for us. I modified maascli to send all form data in the query string for DELETE requests. As this is the only DELETE operation in MAAS which accepts parameters there should be no effect on any other calls.