diff options
Diffstat (limited to 'examples/iframe_injector.py')
-rw-r--r-- | examples/iframe_injector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/iframe_injector.py b/examples/iframe_injector.py index 9495da93..ebb5fd02 100644 --- a/examples/iframe_injector.py +++ b/examples/iframe_injector.py @@ -24,5 +24,5 @@ def response(context, flow): height=0, width=0) html.body.insert(0, iframe) - flow.response.content = str(html) + flow.response.content = str(html).encode("utf8") context.log("Iframe inserted.") |