do HEAD if no Etag returned
This commit is contained in:
parent
317e8a19df
commit
d26e7b68d6
@ -1,6 +1,10 @@
|
||||
ChangeLog for davfs2
|
||||
--------------------
|
||||
|
||||
2009-06-05 Werner Baumann (werner.baumann@onlinehome.de)
|
||||
* wedav.c, dav_put:
|
||||
Do HEAD if no etag returned (regression in 1.4.0).
|
||||
|
||||
2009-05-31 Werner Baumann (werner.baumann@onlinehome.de)
|
||||
* cache.c, cache.h, dav_coda.c, dav_fuse.c:
|
||||
Cache quota in global variable fs_stat.
|
||||
|
@ -1031,6 +1031,8 @@ dav_put(const char *path, const char *cache_path, int *exists, time_t *expire,
|
||||
if (etag) {
|
||||
if (*etag) free(*etag);
|
||||
*etag = normalize_etag(ne_get_response_header(req, "ETag"));
|
||||
if (!*etag)
|
||||
need_head = 1;
|
||||
}
|
||||
|
||||
if (mtime) {
|
||||
|
Loading…
Reference in New Issue
Block a user