

def parse_args(self, env, args=None, namespace=None):
    self.env = env
    (self.args, no_options) = super(Parser, self).parse_known_args(args, namespace)
    if self.args.debug:
        self.args.traceback = True
    self._apply_no_options(no_options)
    self._apply_config()
    self._validate_download_options()
    self._setup_standard_streams()
    self._process_output_options()
    self._process_pretty_options()
    self._guess_method()
    self._parse_items()
    if ((not self.args.ignore_stdin) and (not env.stdin_isatty)):
        self._body_from_file(self.env.stdin)
    if (not self.args.url.startswith((HTTP, HTTPS))):
        scheme = (HTTPS if (self.env.progname == 'https') else HTTP)
        self.args.url = (scheme + self.args.url)
    scheme._process_auth()
    return self.args

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/httpie/input.py Parser.parse_args/VarMisuse@204/250 `self`->`scheme`