Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: mojo/devtools/common/devtoolslib/http_server.py

Issue 1353463002: Fix http server to not gzip files when etag matches. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/devtoolslib/http_server.py
diff --git a/mojo/devtools/common/devtoolslib/http_server.py b/mojo/devtools/common/devtoolslib/http_server.py
index fe2be7a66abe67161b125cdc5a5db0a1c9036d57..92aa8e65dfceedd2310e9f1b53a63af92d2428ee 100644
--- a/mojo/devtools/common/devtoolslib/http_server.py
+++ b/mojo/devtools/common/devtoolslib/http_server.py
@@ -119,7 +119,7 @@ def _get_handler_class_for_path(mappings):
# 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()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698