summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2008-05-25 19:52:02 +0000
committerRobert Brewer <fumanchu@aminus.org>2008-05-25 19:52:02 +0000
commitf63beb703ac1099517307cf95a00f87bae4ddb63 (patch)
tree83dcad0026cb209657396b863f6499cab03dea75
parent22ea1daf20fd689dc7df3d5281712ffd8745d8dd (diff)
downloadcherrypy-f63beb703ac1099517307cf95a00f87bae4ddb63.tar.gz
Fix for #817 (namespace handler for wsgi.response_class).
-rw-r--r--cherrypy/_cpwsgi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cherrypy/_cpwsgi.py b/cherrypy/_cpwsgi.py
index 70a369ab..d8b10971 100644
--- a/cherrypy/_cpwsgi.py
+++ b/cherrypy/_cpwsgi.py
@@ -320,6 +320,8 @@ class CPWSGIApp(object):
# in code (passed to self.__init__) that deployers can add to
# (but not remove) via config.
self.pipeline.extend(v)
+ elif k == "response_class":
+ self.response_class = v
else:
name, arg = k.split(".", 1)
bucket = self.config.setdefault(name, {})