summaryrefslogtreecommitdiff
path: root/pecan/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'pecan/core.py')
-rw-r--r--pecan/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pecan/core.py b/pecan/core.py
index 76fc975..6a096b5 100644
--- a/pecan/core.py
+++ b/pecan/core.py
@@ -519,6 +519,9 @@ class Pecan(object):
# care of filling it out
if result is response:
return
+ elif isinstance(result, Response):
+ state.response = result
+ return
raw_namespace = result