Skip to content

Commit c6b705d

Browse files
committed
Set X-Checksum-Deploy header to false when checksum_enabled is false
1 parent 7cd46e6 commit c6b705d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyartifactory/objects/artifact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def deploy(
125125
raise ArtifactNotFoundError(message)
126126
raise ArtifactoryError from error
127127
else:
128+
headers["X-Checksum-Deploy"] = "false"
128129
with local_file.open("rb") as stream:
129130
self._put(route=route, headers=headers, data=stream)
130131

0 commit comments

Comments
 (0)