session added as a keyword argument for RemoteZip()
If session is defined, use that instead of the default requests.get()
Reason:
sessions can use a variety of authentication methods
Example: The asf-search python module uses it's own requests.Session subclass ASFSession to simplify Earth Data Login (EDL) authentication required to download zipped data from ASF. Enabling custom sessions would allow asf-search to use remoteZip while leveraging its custom session subclass.
Added/Changed:
session
added as a keyword argument forRemoteZip()
session
is defined, use that instead of the defaultrequests.get()
Reason:
requests.Session
subclassASFSession
to simplify Earth Data Login (EDL) authentication required to download zipped data from ASF. Enabling custom sessions would allow asf-search to use remoteZip while leveraging its custom session subclass.