

def _body_from_file(self, fd):
    'There can only be one source of request data.\n\n        Bytes are always read.\n\n        '
    if fd.args.data:
        self.error('Request body (from stdin or a file) and request data (key=value) cannot be mixed.')
    self.args.data = getattr(fd, 'buffer', fd).read()

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/httpie/input.py Parser._body_from_file/VarMisuse@15/54 `self`->`fd`