diff options
author | Iuri de Silvio <iurisilvio@gmail.com> | 2012-12-05 15:25:09 -0200 |
---|---|---|
committer | Iuri de Silvio <iurisilvio@gmail.com> | 2012-12-05 15:25:09 -0200 |
commit | c03e1a7fba21c18f26586be031ef7801439e923c (patch) | |
tree | c43d7b7eae5f35d35617a353fc6360e43c71b196 | |
parent | af098fa336cc02b1e9e19c7e5570e372474cd922 (diff) | |
download | bottle-c03e1a7fba21c18f26586be031ef7801439e923c.tar.gz |
Update HTTPResponse call when mounting apps
-rw-r--r-- | bottle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |