def METHOD_NAME():
    request = HttpRequest("GET", "https://bing.com")
    policies: Iterable[Union[HTTPPolicy, SansIOHTTPPolicy]] = [
        UserAgentPolicy("myuseragent"),
        RedirectPolicy(),
        RetryPolicy(),
    ]
    # [START requests]
    from azure.core.pipeline.transport import RequestsTransport
    with Pipeline(transport=RequestsTransport(), policies=policies) as pipeline:
        response = pipeline.run(request)
    # [END requests]
    assert isinstance(response.http_response.status_code, int)