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

Unified Diff: appengine/findit/common/rietveld.py

Issue 2116073002: [Findit] Fix redirect bug and update template for waterfall/culprit. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Add one unittest. Created 4 years, 5 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 | « appengine/findit/common/http_client_appengine.py ('k') | appengine/findit/handlers/culprit.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/rietveld.py
diff --git a/appengine/findit/common/rietveld.py b/appengine/findit/common/rietveld.py
index bf7907177f8cd2a3e853d01bd2fd3032fc7e8241..fab452cbd107029c3f3be7d7ac718975a4d3200a 100644
--- a/appengine/findit/common/rietveld.py
+++ b/appengine/findit/common/rietveld.py
@@ -15,7 +15,7 @@ _RIETVELD_ISSUE_NUMBER_RE = re.compile('^/(\d+)/?.*')
class Rietveld(CodeReview):
"""The implementation of CodeReview interface for Rietveld."""
- HTTP_CLIENT = HttpClientAppengine()
+ HTTP_CLIENT = HttpClientAppengine(follow_redirects=False)
def _GetXsrfToken(self, rietveld_url):
"""Returns the xsrf token for follow-up requests."""
« no previous file with comments | « appengine/findit/common/http_client_appengine.py ('k') | appengine/findit/handlers/culprit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698