summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIuri de Silvio <iurisilvio@gmail.com>2012-12-05 15:25:09 -0200
committerIuri de Silvio <iurisilvio@gmail.com>2012-12-05 15:25:09 -0200
commitc03e1a7fba21c18f26586be031ef7801439e923c (patch)
treec43d7b7eae5f35d35617a353fc6360e43c71b196
parentaf098fa336cc02b1e9e19c7e5570e372474cd922 (diff)
downloadbottle-c03e1a7fba21c18f26586be031ef7801439e923c.tar.gz
Update HTTPResponse call when mounting apps
-rw-r--r--bottle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bottle.py b/bottle.py
index 6d6d027..baa935d 100644
--- a/bottle.py
+++ b/bottle.py
@@ -568,7 +568,7 @@ class Bottle(object):
return rs.body.append
body = app(request.environ, start_response)
body = itertools.chain(rs.body, body)
- return HTTPResponse(body, rs.status_code, rs.headers)
+ return HTTPResponse(body, rs.status_code, **rs.headers)
finally:
request.path_shift(-path_depth)