{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15895","labels_url":"https://api.github.com/repos/owncloud/core/issues/15895/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15895/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15895/events","html_url":"https://github.com/owncloud/core/pull/15895","id":71324159,"number":15895,"title":"Get etag from remote OC server","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/1%20-%20To%20develop","name":"1 - To develop","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":89,"closed_issues":1294,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-02T07:37:32Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":7,"created_at":"2015-04-27T15:42:24Z","updated_at":"2015-06-02T08:53:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/15895","html_url":"https://github.com/owncloud/core/pull/15895","diff_url":"https://github.com/owncloud/core/pull/15895.diff","patch_url":"https://github.com/owncloud/core/pull/15895.patch"},"body":"Fixes https://github.com/owncloud/core/issues/15125\r\n\r\nBUT this will break syncing with DAV servers that do not return any etags.\r\n\r\n- [ ] find a good solution for regular DAV servers, maybe differentiate between DAV and ownCloud backends (and use ownCloud backend for s2s too)\r\n\r\n@icewind1991 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/107872649","html_url":"https://github.com/owncloud/core/pull/15895#issuecomment-107872649","issue_url":"https://api.github.com/repos/owncloud/core/issues/15895","id":107872649,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T08:53:54Z","updated_at":"2015-06-02T08:53:54Z","body":"Revisiting this solution: this fixes the s2s etag detection issue (which doesn't always go through shareinfo.php).\r\nIn the case of regular WebDAV, the code will detect that no etag was returned and should rely on the \"old\" behavior and use mtime for change detection."}}