parse_as_rest returns count, thaks Joseph Piron
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-05-19 22:34:21) dev
|
Version 2.00.0 (2012-05-20 10:09:09) dev
|
||||||
|
|||||||
+2
-1
@@ -6615,7 +6615,8 @@ def index():
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
return Row({'status':400,'pattern':pattern,
|
return Row({'status':400,'pattern':pattern,
|
||||||
'error':'invalid path','response':None})
|
'error':'invalid path','response':None})
|
||||||
return Row({'status':200,'response':response,'pattern':pattern})
|
return Row({'status':200,'response':response,
|
||||||
|
'pattern':pattern,'count':count})
|
||||||
return Row({'status':400,'error':'no matching pattern','response':None})
|
return Row({'status':400,'error':'no matching pattern','response':None})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user