1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-28 15:08:46 +00:00
TiddlyWiki5/core/modules/savers
Sebastian Silva 46e8e4343a Fix WebDAV by requesting new ETag. (#3230)
* Fix WebDAV by requesting new ETag conditionally

For me. this was saving only the first time and subsequently failing.
Having revised the requests, I noticed it didn't get a new ETag after saving.
Seems not all WebDAV implementations return a new ETag in PUT requests.

In my WebDAV service (WsgiDAV) - ETag is only served from a HEAD
request.

So if no ETag is found with PUT - we request one with HEAD.

This patch fixes error handling and should also work with servers that
provide ETag directly upon PUT.

* Add tweak from PMario
2018-05-04 11:48:38 +01:00
..
andtidwiki.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
beaker.js Add write condition for DAT protocol (#3244) 2018-05-02 15:57:47 +01:00
download.js Apply URL decoding in download saver 2017-07-01 12:39:25 +01:00
fsosaver.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
manualdownload.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
msdownload.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
put.js Fix WebDAV by requesting new ETag. (#3230) 2018-05-04 11:48:38 +01:00
tiddlyfox.js TiddlyFox saver canSave() should always return true (#2626) 2016-12-17 15:27:25 +00:00
tiddlyie.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
twedit.js Add localisable strings for error (#2447) 2016-05-17 21:58:47 +01:00
upload.js Add localisable strings for error (#2447) 2016-05-17 21:58:47 +01:00