HTTP¶
async_tiff.store.HTTPStore ¶
Configure a connection to a generic HTTP server.
__init__ ¶
__init__(
url: str,
*,
client_options: ClientConfig | None = None,
retry_config: RetryConfig | None = None,
) -> None
Construct a new HTTPStore from a URL.
Any path on the URL will be assigned as the prefix for the store. So if you
pass https://example.com/path/to/directory, the store will be created with a
prefix of path/to/directory, and all further operations will use paths
relative to that prefix.
Parameters:
-
url(str) –The base URL to use for the store.
Other Parameters:
-
client_options(ClientConfig | None) –HTTP Client options. Defaults to None.
-
retry_config(RetryConfig | None) –Retry configuration. Defaults to None.
Returns:
-
None–HTTPStore
from_url
classmethod
¶
from_url(
url: str,
*,
client_options: ClientConfig | None = None,
retry_config: RetryConfig | None = None,
) -> Self
Construct a new HTTPStore from a URL.
This is an alias of HTTPStore.__init__.