parse_as_rest returns count, thaks Joseph Piron

This commit is contained in:
Massimo Di Pierro
2012-05-20 10:09:41 -05:00
parent 1173f292fa
commit 5522e8d9ea
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.00.0 (2012-05-19 22:34:21) dev
Version 2.00.0 (2012-05-20 10:09:09) dev

View File

@@ -6615,7 +6615,8 @@ def index():
except ValueError:
return Row({'status':400,'pattern':pattern,
'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})