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

Side by Side Diff: appengine/components/tool_support/local_app.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Swarming Authors. All rights reserved. 2 # Copyright 2014 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Tools to control application running via dev_appserver.py. 6 """Tools to control application running via dev_appserver.py.
7 7
8 Useful for smoke and integration tests. 8 Useful for smoke and integration tests.
9 """ 9 """
10 10
11 import collections 11 import collections
12 import cookielib 12 import cookielib
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 It only works with apps that use 'auth' component. 300 It only works with apps that use 'auth' component.
301 """ 301 """
302 if self._xsrf_token is None: 302 if self._xsrf_token is None:
303 resp = self.json_request( 303 resp = self.json_request(
304 '/auth/api/v1/accounts/self/xsrf_token', 304 '/auth/api/v1/accounts/self/xsrf_token',
305 body={}, 305 body={},
306 headers={'X-XSRF-Token-Request': '1'}) 306 headers={'X-XSRF-Token-Request': '1'})
307 self._xsrf_token = resp.body['xsrf_token'].encode('ascii') 307 self._xsrf_token = resp.body['xsrf_token'].encode('ascii')
308 return self._xsrf_token 308 return self._xsrf_token
OLDNEW
« no previous file with comments | « appengine/components/tool_support/gae_sdk_utils.py ('k') | appengine/components/tools/calculate_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698