Lines Matching refs:str
76 def stats(self) -> Optional[Dict[str,Any]]:
121 def stats(self) -> Optional[List[str]]:
128 def stats_excluding(self, src_port) -> Optional[List[str]]:
133 if not re.match(r'.* IP 127\.0\.0\.1\.' + str(src_port) + ' >.*', line)]
136 def stderr(self) -> List[str]:
186 def __init__(self, args: List[str], exit_code: int,
187 stdout: List[str], stderr: List[str],
190 exception: Optional[str] = None,
237 def args(self) -> List[str]:
245 def stdout(self) -> str:
254 def stderr(self) -> str:
258 def trace_lines(self) -> List[str]:
331 protocol: Optional[str] = None,
391 remote_ip: Optional[str] = None):
445 def xfer_trace_for(self, xfer_id) -> List[str]:
462 run_dir: Optional[str] = None,
465 run_env: Optional[Dict[str, str]] = None,
466 server_addr: Optional[str] = None):
482 def run_dir(self) -> str:
485 def download_file(self, i: int) -> str:
500 def get_proxy_args(self, proto: str = 'http/1.1',
522 def http_get(self, url: str, extra_args: Optional[List[str]] = None,
523 alpn_proto: Optional[str] = None,
535 def http_download(self, urls: List[str],
536 alpn_proto: Optional[str] = None,
542 extra_args: Optional[List[str]] = None):
566 def http_upload(self, urls: List[str], data: str,
567 alpn_proto: Optional[str] = None,
572 extra_args: Optional[List[str]] = None):
588 def http_delete(self, urls: List[str],
589 alpn_proto: Optional[str] = None,
592 extra_args: Optional[List[str]] = None):
607 def http_put(self, urls: List[str], data=None, fdata=None,
608 alpn_proto: Optional[str] = None,
612 extra_args: Optional[List[str]] = None):
632 def http_form(self, urls: List[str], form: Dict[str, str],
633 alpn_proto: Optional[str] = None,
636 extra_args: Optional[List[str]] = None):
652 def ftp_get(self, urls: List[str],
657 extra_args: Optional[List[str]] = None):
681 def ftp_ssl_get(self, urls: List[str],
686 extra_args: Optional[List[str]] = None):
697 def ftp_upload(self, urls: List[str],
699 updata: Optional[str] = None,
703 extra_args: Optional[List[str]] = None):
727 def ftp_ssl_upload(self, urls: List[str],
729 updata: Optional[str] = None,
733 extra_args: Optional[List[str]] = None):
822 alpn_proto: Optional[str] = None,
841 alpn_proto: Optional[str] = None,
887 args.extend(["--connect-timeout", str(int(timeout))])
891 def _parse_headerfile(self, headerfile: str, r: Optional[ExecResult] = None) -> ExecResult: