def METHOD_NAME(self, captcha, captcha_type="file", match=None):
    with get_request() as req:
        #: Raise timeout threshold
        req.c.setopt(pycurl.LOW_SPEED_TIME, 80)
        res = self.load(
            self.SUBMIT_URL,
            post={
                "vendor_key": self.PYLOAD_KEY,
                "key": self.config.get("passkey"),
                "gen_task_id": "1",
                "file": (pycurl.FORM_FILE, captcha),
            },
            req=req,
        )
    data = dict(x.split(" ", 1) for x in res.splitlines())
    if not data or "Value" not in data:
        raise BypassCaptchaException(res)
    result = data["Value"]
    ticket = data["TaskId"]
    self.log_debug(f"Result {ticket} : {result}")
    return ticket, result