Anonymous committed 890f28e

Fixed hang bug when using recursive forwards during an exception toss during a POST. At this point, changing the request method to a GET alleviates the issue with re-reading the 'wsgi.input' which is no longer present at this point. Ideally instead of having to change the request method during an internal redirect, the wsgi.input should possibly be repopulated somehow.

Comments (0)

Files changed (1)


         assert not path.startswith('/')
         path_info = '/' + path
         environ['PATH_INFO'] = path_info
+        environ['REQUEST_METHOD'] = 'GET'
         return self.activate(environ)
     def __repr__(self):