From 69f694c52151c627ae1d35c9c2b30947fa2dc35c Mon Sep 17 00:00:00 2001 From: Yoann Roman Date: Tue, 25 Jan 2011 12:29:26 -0500 Subject: [PATCH] Leaving the _method workaround for htmlfill use --- pecan/rest.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pecan/rest.py b/pecan/rest.py index bcb231a..88eed0a 100644 --- a/pecan/rest.py +++ b/pecan/rest.py @@ -29,12 +29,6 @@ class RestController(object): handler = getattr(self, '_handle_%s' % method, self._handle_custom) result = handler(method, args) - # remove the "_method" workaround - if '_method' in request.POST: - del request.POST['_method'] - if '_method' in request.GET: - del request.GET['_method'] - # return the result return result