(url, method="GET", data=None, timeout=None)
thread safe http request

    Raises:
        WDAError, WDARequestError, WDAEmptyResponseError
thread safe http request
thread safe http request
def httpdo(url, method="GET", data=None, timeout=None) -> AttrDict:
    """
    thread safe http request

    Raises:
        WDAError, WDARequestError, WDAEmptyResponseError
    """
    p = urlparse(url)
    with namedlock(p.scheme + "://" + p.netloc):
        return _unsafe_httpdo(url, method, data, timeout)
def httpdo ( url , method = "GET" , data = None , timeout = None ) -> AttrDict : p = urlparse ( url ) with namedlock ( p . scheme + "://" + p . netloc ) : return _unsafe_httpdo ( url , method , data , timeout )