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

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

Issue 1950123003: [Findit] Fetch DEPS from buildspec/ instead of trunk for chrome official builds. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 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
Index: appengine/findit/common/http_client_appengine.py
diff --git a/appengine/findit/common/http_client_appengine.py b/appengine/findit/common/http_client_appengine.py
index 171f89773ca132841819695ac99c6f57802b8965..e356d2f631d528a35a20e499231cf275bf93ea86 100644
--- a/appengine/findit/common/http_client_appengine.py
+++ b/appengine/findit/common/http_client_appengine.py
@@ -21,6 +21,7 @@ class HttpClientAppengine(RetryHttpClient): # pragma: no cover
# We wanted to validate certificate to avoid the man in the middle.
if not headers:
headers = {}
+
if method in (urlfetch.POST, urlfetch.PUT):
result = urlfetch.fetch(
url, payload=data, method=method,

Powered by Google App Engine
This is Rietveld 408576698