Folder listings where ETags contains quotes are mishandled #1316
Description
The standard says ETag values start and end with quotes (so weak ETags can be distinguished from strong). See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
Per the RS standard folder listings must contain the ETag of documents. The example folder listings contain ETag values without the quotes, but the text doesn't clarify whether this is optional or required. As ETags are required to be strong, the quotes are not absolutely necessary.
When remotestorage.js is syncing, and a JSON folder listing contains ETags WITHOUT quotes (for example "ETag": "3f5cdfaa69bb4cdddaab87d28e5d918c",
) remotestorage.js currently treats this as equal to the ETag returned by PUTs and GETs, even if they contain quotes.
When remotestorage.js is syncing, and a JSON folder listing contains ETags WITH quotes (for example "ETag": "\"3f5cdfaa69bb4cdddaab87d28e5d918c\"",
) remotestorage.js currently treats this as unequal to the ETag value returned by PUTs and GETs if they include the quotes.
Given the ambiguity in draft-dejong-remotestorage-22.txt, remotestorage.js should parse ETags values in JSON folder listing the same, whether they include quotes or not.