Skip to content

Commit d3cb62c

Browse files
authored
[PECO-2051] Add custom auth headers into cloud fetch request (databricks#460)
Signed-off-by: Jacky Hu <[email protected]>
1 parent 55105fe commit d3cb62c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/databricks/sql/cloudfetch/downloader.py

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def run(self) -> DownloadedFile:
100100
self.link.fileLink,
101101
timeout=self.settings.download_timeout,
102102
verify=self._ssl_options.tls_verify,
103+
headers=self.link.httpHeaders
103104
# TODO: Pass cert from `self._ssl_options`
104105
)
105106
response.raise_for_status()

0 commit comments

Comments
 (0)