mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
fix/adjustment reported by test
This commit is contained in:
parent
496b9f1d7c
commit
fb7630f9eb
2 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,7 @@ class ApplicationPartPut(ApplicationBase):
|
|||
except Exception as e:
|
||||
logger.warning(
|
||||
"Bad PUT request on %r (read_components): %s", path, e, exc_info=True)
|
||||
if self._bad_put_request_content:
|
||||
if self._log_bad_put_request_content:
|
||||
logger.warning("Bad PUT request content of %r:\n%s", path, content)
|
||||
return httputils.BAD_REQUEST
|
||||
(prepared_items, prepared_tag, prepared_write_whole_collection,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue