diff options
Diffstat (limited to 'wsgitools')
-rw-r--r-- | wsgitools/middlewares.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py index 1619e0b..1cb5622 100644 --- a/wsgitools/middlewares.py +++ b/wsgitools/middlewares.py @@ -414,4 +414,4 @@ class TracebackMiddleware(object): ("Content-length", str(len(data)))]) if environ["REQUEST_METHOD"].upper() == "HEAD": return [] - return [data] + return [str2bytes(data)] |