parse_as_rest returns count, thaks Joseph Piron

This commit is contained in:
Massimo Di Pierro committed 2012-05-20 10:09:41 -05:00
1 parent ec55c1573b
commit 7e2fbfacac
2 files changed
+3 -2

No files matched your search

+2 -1
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})