Skip to content

Commit a647aac

Browse files
author
Carlos M. Esterlizi
committed
check
CURLOPT_NOBODY - do the download request without getting the body
1 parent cdbc269 commit a647aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webdav/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def check(self, remote_path=root):
285285
'CUSTOMREQUEST': Client.requests['check'],
286286
'HTTPHEADER': self.get_header('check'),
287287
'WRITEDATA': response,
288-
'NOBODY': 0
288+
'NOBODY': 1
289289
}
290290

291291
request = self.Request(options=options)

0 commit comments

Comments
 (0)