summaryrefslogtreecommitdiff
path: root/paste/recursive.py
diff options
context:
space:
mode:
authorbbangert <devnull@localhost>2006-05-04 15:04:31 +0000
committerbbangert <devnull@localhost>2006-05-04 15:04:31 +0000
commit3b4475ec30a68ec6093dc10c5d05949b16a8d2cc (patch)
treed7adc38451b8723e93dcbc8f72640d63da7ab6a1 /paste/recursive.py
parent735250bf2e8df38d66bf8313fb0ec0cb8ce83610 (diff)
downloadpaste-3b4475ec30a68ec6093dc10c5d05949b16a8d2cc.tar.gz
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.
Diffstat (limited to 'paste/recursive.py')
-rw-r--r--paste/recursive.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paste/recursive.py b/paste/recursive.py
index fb457c7..578ddbb 100644
--- a/paste/recursive.py
+++ b/paste/recursive.py
@@ -102,6 +102,7 @@ class Recursive(object):
assert not path.startswith('/')
path_info = '/' + path
environ['PATH_INFO'] = path_info
+ environ['REQUEST_METHOD'] = 'GET'
return self.activate(environ)
def __repr__(self):