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

Unified Diff: net/tools/testserver/testserver.py

Issue 22254005: UMA data collector for cross-site documents(XSD) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: blocking code gets simpler and testcase is moved to /content Created 7 years, 4 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
Index: net/tools/testserver/testserver.py
diff --git a/net/tools/testserver/testserver.py b/net/tools/testserver/testserver.py
index 77a314263001a60d083f5ed0f23e9c563cd42c76..6b6c313b97e2d57bb5e6a5d7792c4ccfb8670ba8 100755
--- a/net/tools/testserver/testserver.py
+++ b/net/tools/testserver/testserver.py
@@ -299,7 +299,8 @@ class TestPageHandler(testserver_base.BasePageHandler):
'json': 'application/json',
'pdf' : 'application/pdf',
'wav' : 'audio/wav',
- 'xml' : 'text/xml'
+ 'xml' : 'text/xml',
+ 'txt' : 'text/plain'
Charlie Reis 2013/08/22 18:23:30 nit: Alphabetize.
dsjang 2013/08/22 19:05:55 Done.
}
self._default_mime_type = 'text/html'

Powered by Google App Engine
This is Rietveld 408576698