diff options
Diffstat (limited to 'cherrypy/_cpnative_server.py')
| -rw-r--r-- | cherrypy/_cpnative_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/_cpnative_server.py b/cherrypy/_cpnative_server.py index 1fef37a7..55653c35 100644 --- a/cherrypy/_cpnative_server.py +++ b/cherrypy/_cpnative_server.py @@ -95,7 +95,7 @@ class NativeGateway(cheroot.server.Gateway): req = self.req # Set response status - req.status = str(status or '500 Server Error') + req.status = status or b'500 Server Error' # Set response headers for header, value in headers: |
