GitHub

FollowRedirects

API reference for FollowRedirects.

Whether httpx follows redirects for the requests sent under it; None (the default) keeps the follow_redirects the client was made with. Effect's FetchHttpClient.RequestInit with its redirect option::

effect.pipe(fx.provide_service(httpx_client.FollowRedirects, False))

Functions

default

default() -> bool | None

Returns bool | None

@classmethod
def default(cls) -> bool | None:
    return None