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

Unified Diff: chrome/common/extensions/docs/server2/servlet.py

Issue 311793002: Docserver: Fix broken redirect on code.google.com/chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also test http Created 6 years, 7 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 | « chrome/common/extensions/docs/server2/render_servlet_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/servlet.py
diff --git a/chrome/common/extensions/docs/server2/servlet.py b/chrome/common/extensions/docs/server2/servlet.py
index 7672ca597e2140c4d720d83d01ce4800873bc6e4..4b8509bd5cf0bdc91c0ce9adc5486eebb439747b 100644
--- a/chrome/common/extensions/docs/server2/servlet.py
+++ b/chrome/common/extensions/docs/server2/servlet.py
@@ -32,8 +32,8 @@ class Request(object):
self.headers = RequestHeaders(headers)
@staticmethod
- def ForTest(path, host='http://developer.chrome.com', headers=None):
- return Request(path, host, headers or {})
+ def ForTest(path, host=None, headers=None):
+ return Request(path, host or 'http://developer.chrome.com', headers or {})
def __repr__(self):
return 'Request(path=%s, host=%s, headers=%s)' % (
« no previous file with comments | « chrome/common/extensions/docs/server2/render_servlet_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698