Branch: Tag:

2018-02-01

2018-02-01 15:50:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

WebDAV: Improved diagnostics for check_if_header().

1325:    locked_fail = 1;    }    -  TRACE_LEAVE("Failed."); +  if (locked_fail) { +  TRACE_LEAVE("Failed (locked)."); +  } else { +  TRACE_LEAVE("Precondition failed."); +  }    return Roxen.http_status(locked_fail ?    Protocols.HTTP.DAV_LOCKED :    Protocols.HTTP.HTTP_PRECOND_FAILED);