Fix http server to not gzip files when etag matches. R=ppi@chromium.org Review URL: https://codereview.chromium.org/1353463002 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: 81e86cddcf75e27149dd2e5b8ee2be2326e2523c
diff --git a/devtoolslib/http_server.py b/devtoolslib/http_server.py index fe2be7a..92aa8e6 100644 --- a/devtoolslib/http_server.py +++ b/devtoolslib/http_server.py
@@ -119,7 +119,7 @@ # pylint: disable=W0201 self.close_connection = 1 - path = self.translate_path(self.path) + path = self.translate_path(self.path, False) if os.path.isfile(path): # Handle If-None-Match etag = self.get_etag()