diff options
Diffstat (limited to 'net/tools/testserver/testserver.py')
-rwxr-xr-x | net/tools/testserver/testserver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tools/testserver/testserver.py b/net/tools/testserver/testserver.py index 0849a29..4147004 100755 --- a/net/tools/testserver/testserver.py +++ b/net/tools/testserver/testserver.py @@ -1418,6 +1418,8 @@ class TestPageHandler(BasePageHandler): self.headers, raw_request)) self.send_response(http_response) + if (http_response == 200): + self.send_header('Content-type', 'application/x-protobuffer') self.end_headers() self.wfile.write(raw_reply) return True |