summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/forkpool.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-02-28 02:50:34 +0100
committerHelmut Grohne <helmut@subdivi.de>2008-02-28 02:50:34 +0100
commit1096a1c1aacf44bf3977fce365f3658b2dd19860 (patch)
treea334b8162e34672c4c1edffdd090b4a5a31223a3 /wsgitools/scgi/forkpool.py
parentfa9c543d4916fe22dbad6044f8bf09f0cbbc36c7 (diff)
downloadwsgitools-1096a1c1aacf44bf3977fce365f3658b2dd19860.tar.gz
scgi.forkpool: start_response must accept a third parameter
Diffstat (limited to 'wsgitools/scgi/forkpool.py')
-rw-r--r--wsgitools/scgi/forkpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py
index 4a07740..bc1be08 100644
--- a/wsgitools/scgi/forkpool.py
+++ b/wsgitools/scgi/forkpool.py
@@ -206,7 +206,7 @@ class SCGIServer:
value = data.pop(0)
environ[key] = value
- def start_response(status, headers):
+ def start_response(status, headers, exc_info=None):
con.send('Status: %s\r\n%s\r\n\r\n' % (status,
'\r\n'.join(map("%s: %s".__mod__, headers))))
return con.send