Changed HEAD to GET method for 'check' request due of not all servers support HEAD

This commit is contained in:
Evgeny Ezhov 2019-11-27 15:18:02 +03:00
parent 78a979715d
commit 5b1285392c
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@ Release Notes
* Switch to use python sessions rather than requests by https://github.com/delrey1 * Switch to use python sessions rather than requests by https://github.com/delrey1
* Stripping suburl from paths in extract_response_for_path by https://github.com/Skeen * Stripping suburl from paths in extract_response_for_path by https://github.com/Skeen
* Added Docker Web DAV for CI * Added Docker Web DAV for CI
* Changed HEAD to GET method for 'check' request due of not all servers support HEAD by request of https://github.com/danieleTrimarchi
**Version 0.12 - 21.06.2019** **Version 0.12 - 21.06.2019**
* Added depth argument in copy method in client.py by https://github.com/JesperHakansson * Added depth argument in copy method in client.py by https://github.com/JesperHakansson

View file

@ -184,7 +184,7 @@ class Client(object):
'move': "MOVE", 'move': "MOVE",
'mkdir': "MKCOL", 'mkdir': "MKCOL",
'clean': "DELETE", 'clean': "DELETE",
'check': "HEAD", 'check': "GET",
'list': "PROPFIND", 'list': "PROPFIND",
'free': "PROPFIND", 'free': "PROPFIND",
'info': "PROPFIND", 'info': "PROPFIND",