Lines Matching refs:headers
160 def do_request_async(self, url, method='GET', headers=None, payload=None,
168 headers = {} if headers is None else dict(headers)
171 headers['authorization'] = 'OAuth ' + self.token
179 headers=headers, follow_redirects=False,
183 headers['authorization'] = 'OAuth ' + self.token
185 url, payload=payload, method=method, headers=headers,
195 headers=headers, follow_redirects=False, deadline=deadline)
201 raise ndb.Return((resp.status_code, resp.headers, resp.content))