web/request.py
branchstable
changeset 2255 c346af0727ca
parent 2245 7463e1a748dd
child 2258 79bc598c6411
--- a/web/request.py	Fri Jul 03 16:50:13 2009 +0200
+++ b/web/request.py	Fri Jul 03 17:57:19 2009 +0200
@@ -61,6 +61,7 @@
 
 class CubicWebRequestBase(DBAPIRequest):
     """abstract HTTP request, should be extended according to the HTTP backend"""
+    json_request = False # to be set to True by json controllers
 
     def __init__(self, vreg, https, form=None):
         super(CubicWebRequestBase, self).__init__(vreg)