summaryrefslogtreecommitdiff
path: root/tests/events.wsgi
diff options
context:
space:
mode:
authorGraham Dumpleton <Graham.Dumpleton@gmail.com>2015-06-01 16:20:22 +1000
committerGraham Dumpleton <Graham.Dumpleton@gmail.com>2015-06-01 16:20:22 +1000
commit8635c5047841bd8098b12012c63924f6500a045b (patch)
tree9f73ce95bae58eff61465f977ddbc7c1e99090cb /tests/events.wsgi
parent21699cf5635c72d092cf4e29745ffe04567c676f (diff)
downloadmod_wsgi-8635c5047841bd8098b12012c63924f6500a045b.tar.gz
Read request content in events test script.
Diffstat (limited to 'tests/events.wsgi')
-rw-r--r--tests/events.wsgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/events.wsgi b/tests/events.wsgi
index 490b4c5..2f7c434 100644
--- a/tests/events.wsgi
+++ b/tests/events.wsgi
@@ -55,6 +55,8 @@ def application(environ, start_response):
('Content-Length', str(len(output)))]
start_response(status, response_headers)
+ environ['wsgi.input'].read()
+
try:
yield output