Lines Matching refs:url
118 def __init__(self, url, code, msg, headers, args):
119 urllib2.HTTPError.__init__(self, url, code, msg, headers, None)
162 def _CreateRequest(self, url, data=None):
164 logging.debug("Creating request for: '%s' with payload:\n%s", url, data)
165 req = urllib2.Request(url, data=data)
191 url="https://www.google.com/accounts/ClientLogin",
248 us to the URL we provided.
320 url = "http://%s%s" % (self.host, request_path)
322 url += "?" + urllib.urlencode(args)
323 req = self._CreateRequest(url=url, data=payload)
680 url = "/%d/upload_content/%d/%d" % (int(issue), int(patchset), file_id)
693 response_body = rpc_server.Send(url, body,
737 # SVN base URL is required to fetch files deleted in an older revision.
747 """Returns the SVN base URL.
750 required: If true, exits if the url can't be guessed, otherwise None is
756 if len(words) == 2 and words[0] == "URL:":
757 url = words[1]
758 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
761 logging.info("Removed username from base URL")
767 ErrorExit("Unrecognized Python URL: %s" % url)
787 ErrorExit("Can't find URL in output from svn info")
817 'HeadURL': ['HeadURL', 'URL'],
824 'URL': ['URL', 'HeadURL'],
921 url = "%s/%s@%s" % (self.svn_base, filename, self.rev_start)
924 url = filename
926 cmd = ["svn"] + args + ["propget", "svn:mime-type", url]
944 url = "%s/%s@%s" % (self.svn_base, filename, self.rev_end)
945 new_content = RunShell(["svn", "cat", url],
959 # the full URL with "@REV" appended instead of using "-r" option.
960 url = "%s/%s@%s" % (self.svn_base, filename, self.rev_start)
961 base_content = RunShell(["svn", "cat", url],
971 url = "%s/%s@%s" % (self.svn_base, filename, self.rev_start)
973 url = filename
975 cmd = ["svn"] + args + ["propget", "svn:keywords", url]
1198 url = "/%d/upload_patch/%d" % (int(issue), int(patchset))
1200 response_body = rpc_server.Send(url, body, content_type=ctype)