mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
webdav: add support for lock discovery
This commit is contained in:
@@ -365,6 +365,9 @@ func writeLog(r *http.Request, status int, err error) {
|
||||
if contentLength := r.Header.Get("Content-Length"); contentLength != "" {
|
||||
fields["content_length"] = contentLength
|
||||
}
|
||||
if timeout := r.Header.Get("Timeout"); timeout != "" {
|
||||
fields["timeout"] = timeout
|
||||
}
|
||||
if status != 0 {
|
||||
fields["resp_status"] = status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user