wsgi/request.py
changeset 8752 e19f4bba89cd
parent 8316 d5b1b75805dd
child 9563 48f0ff3e2a32
--- a/wsgi/request.py	Thu Jan 17 14:55:07 2013 +0100
+++ b/wsgi/request.py	Tue Mar 12 12:34:07 2013 +0100
@@ -38,13 +38,14 @@
 
 
 class CubicWebWsgiRequest(CubicWebRequestBase):
-    """most of this code COMES FROM DJANO
+    """most of this code COMES FROM DJANGO
     """
 
     def __init__(self, environ, vreg):
         self.environ = environ
         self.path = environ['PATH_INFO']
         self.method = environ['REQUEST_METHOD'].upper()
+        self.content = environ['wsgi.input']
 
         headers_in = dict((normalize_header(k[5:]), v) for k, v in self.environ.items()
                           if k.startswith('HTTP_'))