Skip to content

Commit 67e7850

Browse files
committed
update
1 parent 22b9e7e commit 67e7850

File tree

3 files changed

+1341
-12
lines changed

3 files changed

+1341
-12
lines changed

databricks/sdk/files/v2/impl.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,9 +1124,9 @@ def download(self, file_path: str) -> DownloadResponse:
11241124
"Accept": "application/octet-stream",
11251125
}
11261126
response_headers = [
1127-
"{content_length}",
1128-
"{content_type}",
1129-
"{last_modified}",
1127+
"content-length",
1128+
"content-type",
1129+
"last-modified",
11301130
]
11311131
res = self._api.do(
11321132
"GET",
@@ -1173,9 +1173,9 @@ def get_metadata(self, file_path: str) -> GetMetadataResponse:
11731173

11741174
headers = {}
11751175
response_headers = [
1176-
"{content_length}",
1177-
"{content_type}",
1178-
"{last_modified}",
1176+
"content-length",
1177+
"content-type",
1178+
"last-modified",
11791179
]
11801180
res = self._api.do(
11811181
"HEAD",

0 commit comments

Comments
 (0)