{"action":"created","issue":{"url":"https://api.github.com/repos/read-write-web/rww-play/issues/157","labels_url":"https://api.github.com/repos/read-write-web/rww-play/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/read-write-web/rww-play/issues/157/comments","events_url":"https://api.github.com/repos/read-write-web/rww-play/issues/157/events","html_url":"https://github.com/read-write-web/rww-play/issues/157","id":85920845,"number":157,"title":"Give etag after a put","user":{"login":"sylvainlb","id":1392451,"avatar_url":"https://avatars.githubusercontent.com/u/1392451?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainlb","html_url":"https://github.com/sylvainlb","followers_url":"https://api.github.com/users/sylvainlb/followers","following_url":"https://api.github.com/users/sylvainlb/following{/other_user}","gists_url":"https://api.github.com/users/sylvainlb/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainlb/subscriptions","organizations_url":"https://api.github.com/users/sylvainlb/orgs","repos_url":"https://api.github.com/users/sylvainlb/repos","events_url":"https://api.github.com/users/sylvainlb/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainlb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/read-write-web/rww-play/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"sylvainlb","id":1392451,"avatar_url":"https://avatars.githubusercontent.com/u/1392451?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainlb","html_url":"https://github.com/sylvainlb","followers_url":"https://api.github.com/users/sylvainlb/followers","following_url":"https://api.github.com/users/sylvainlb/following{/other_user}","gists_url":"https://api.github.com/users/sylvainlb/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainlb/subscriptions","organizations_url":"https://api.github.com/users/sylvainlb/orgs","repos_url":"https://api.github.com/users/sylvainlb/repos","events_url":"https://api.github.com/users/sylvainlb/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainlb/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-07T17:14:59Z","updated_at":"2015-06-09T09:39:24Z","closed_at":null,"body":"When you PUT a resource to the server, its etag is modified but not communicated to the client. That means that if the client wants to save a new version of the resource, it first needs to do an extra GET on it, although it already has it.\r\n\r\nShouldn't the server add the new etag as a header of the PUT response?"},"comment":{"url":"https://api.github.com/repos/read-write-web/rww-play/issues/comments/110295814","html_url":"https://github.com/read-write-web/rww-play/issues/157#issuecomment-110295814","issue_url":"https://api.github.com/repos/read-write-web/rww-play/issues/157","id":110295814,"user":{"login":"sylvainlb","id":1392451,"avatar_url":"https://avatars.githubusercontent.com/u/1392451?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainlb","html_url":"https://github.com/sylvainlb","followers_url":"https://api.github.com/users/sylvainlb/followers","following_url":"https://api.github.com/users/sylvainlb/following{/other_user}","gists_url":"https://api.github.com/users/sylvainlb/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainlb/subscriptions","organizations_url":"https://api.github.com/users/sylvainlb/orgs","repos_url":"https://api.github.com/users/sylvainlb/repos","events_url":"https://api.github.com/users/sylvainlb/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainlb/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T09:39:24Z","updated_at":"2015-06-09T09:39:24Z","body":"As I understand, PUT, PATCH and POST should return Access-Control-Allow-Origin, Accept-Patch, mimetype, then linkHeaders(ldpr) and the commonHeaders. Rigth?"}}