HTTPSession.request can take any additional parameter via kwargs, which allows for example to pass additional headers. However HTTPSession.download_file, which calls the first method in order to perform the query, doesn't allow that.
This change adds a kwargs parameter to HTTPSession.download_file to pass additional parameters to the underlying call to HTTPSession.request
HTTPSession.request can take any additional parameter via kwargs, which allows for example to pass additional headers. However HTTPSession.download_file, which calls the first method in order to perform the query, doesn't allow that. This change adds a kwargs parameter to HTTPSession.download_file to pass additional parameters to the underlying call to HTTPSession.request