diff options
Diffstat (limited to 'pasteme.py')
-rwxr-xr-x | pasteme.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +55,8 @@ def route_paste_get(pid, pformat='colored'): except pygments.util.ClassNotFound: pass return bottle.template('paste', content=content) + bottle.response.content_type = 'text/plain; charset=UTF8' # HTTP header + bottle.response.charset = 'utf-8' # used to encode response return content @bottle.error(404) |