src/webdav.c [1076:1092]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if (!has_if_match_bug) { if (!*exists) { ne_add_request_header(req, "If-None-Match", "*"); } else { if (etag && *etag) ne_add_request_header(req, "If-Match", *etag); } } if (use_expect100) ne_set_request_flag(req, NE_REQFLAG_EXPECT100, 1); ne_lock_using_resource(req, spath, 0); ne_set_request_body_fd(req, fd, 0, st.st_size); ret = ne_request_dispatch(req); ret = get_error(ret, "PUT", session); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/webdav.c [1099:1115]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if (!has_if_match_bug) { if (!*exists) { ne_add_request_header(req, "If-None-Match", "*"); } else { if (etag && *etag) ne_add_request_header(req, "If-Match", *etag); } } if (use_expect100) ne_set_request_flag(req, NE_REQFLAG_EXPECT100, 1); ne_lock_using_resource(req, spath, 0); ne_set_request_body_fd(req, fd, 0, st.st_size); ret = ne_request_dispatch(req); ret = get_error(ret, "PUT", session); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -