diff --git a/server/server.py b/server/server.py index 1c8d32b..c7681aa 100755 --- a/server/server.py +++ b/server/server.py @@ -252,7 +252,7 @@ class HTTPRequestHandler(object): break yield block except FileNotFoundError: - start_response('404 Not found') + start_response('404 Not found', [('Content-Type', 'text/plain')]) return [] def _ServeStaticFile(self, start_response, file_name): @@ -265,7 +265,7 @@ class HTTPRequestHandler(object): start_response('200 OK', [('Content-Type', self._MIMEType(file_name))]) return [fh.read()] except FileNotFoundError: - start_response('404 Not found') + start_response('404 Not found', [('Content-Type', 'text/plain')]) return [] def _ServeExec(self, start_response, method, arg):