possible fix to issues 1682, REST and DELETE
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.6.3-stable+timestamp.2013.09.19.18.25.38
|
Version 2.6.3-stable+timestamp.2013.09.19.18.31.43
|
||||||
|
|||||||
+1
-1
@@ -332,7 +332,7 @@ class Request(Storage):
|
|||||||
if not rest_action:
|
if not rest_action:
|
||||||
raise HTTP(400, "method not supported")
|
raise HTTP(400, "method not supported")
|
||||||
try:
|
try:
|
||||||
return rest_action(*_self.args, **_self.vars)
|
return rest_action(*_self.args, **getattr(_self,'vars',{}))
|
||||||
except TypeError, e:
|
except TypeError, e:
|
||||||
exc_type, exc_value, exc_traceback = sys.exc_info()
|
exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||||
if len(traceback.extract_tb(exc_traceback)) == 1:
|
if len(traceback.extract_tb(exc_traceback)) == 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user