Skip to content

Commit 8f41ca1

Browse files
committed
stringify content-length header to fix requests bug
1 parent 5f20ad7 commit 8f41ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataverse/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def publish(self):
250250

251251
resp = requests.post(
252252
self.edit_uri,
253-
headers={'In-Progress': 'false', 'Content-Length': 0},
253+
headers={'In-Progress': 'false', 'Content-Length': '0'},
254254
auth=self.connection.auth,
255255
)
256256

0 commit comments

Comments
 (0)