{"action":"created","issue":{"url":"https://api.github.com/repos/divolte/divolte-collector/issues/107","labels_url":"https://api.github.com/repos/divolte/divolte-collector/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/divolte/divolte-collector/issues/107/comments","events_url":"https://api.github.com/repos/divolte/divolte-collector/issues/107/events","html_url":"https://github.com/divolte/divolte-collector/issues/107","id":117066590,"number":107,"title":"Using 204 instead of 200","user":{"login":"cbsmith","id":418385,"avatar_url":"https://avatars.githubusercontent.com/u/418385?v=3","gravatar_id":"","url":"https://api.github.com/users/cbsmith","html_url":"https://github.com/cbsmith","followers_url":"https://api.github.com/users/cbsmith/followers","following_url":"https://api.github.com/users/cbsmith/following{/other_user}","gists_url":"https://api.github.com/users/cbsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cbsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbsmith/subscriptions","organizations_url":"https://api.github.com/users/cbsmith/orgs","repos_url":"https://api.github.com/users/cbsmith/repos","events_url":"https://api.github.com/users/cbsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cbsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-16T07:12:43Z","updated_at":"2015-12-02T07:41:21Z","closed_at":null,"body":"To save bandwidth/serverload/etc. as well as just generally be more semantically correct, divolte should return a 204 response code rather than a 1x1 pixel GIF. At the very least, this should be a configurable option."},"comment":{"url":"https://api.github.com/repos/divolte/divolte-collector/issues/comments/161210259","html_url":"https://github.com/divolte/divolte-collector/issues/107#issuecomment-161210259","issue_url":"https://api.github.com/repos/divolte/divolte-collector/issues/107","id":161210259,"user":{"login":"friso","id":273638,"avatar_url":"https://avatars.githubusercontent.com/u/273638?v=3","gravatar_id":"","url":"https://api.github.com/users/friso","html_url":"https://github.com/friso","followers_url":"https://api.github.com/users/friso/followers","following_url":"https://api.github.com/users/friso/following{/other_user}","gists_url":"https://api.github.com/users/friso/gists{/gist_id}","starred_url":"https://api.github.com/users/friso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friso/subscriptions","organizations_url":"https://api.github.com/users/friso/orgs","repos_url":"https://api.github.com/users/friso/repos","events_url":"https://api.github.com/users/friso/events{/privacy}","received_events_url":"https://api.github.com/users/friso/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T07:41:21Z","updated_at":"2015-12-02T07:41:21Z","body":"When trying a site with GA, I am seeing this:\r\n![image](https://cloud.githubusercontent.com/assets/273638/11524873/fe81955a-98ce-11e5-8d83-7ee6dbe8a291.png)\r\n\r\nI'm not against using a 204, but I'd like to research the situation a bit more. It wouldn't surprise me if the client side actually makes the decision on which endpoint to call. For example, some trackers will use a POST request through XHR if available and GET otherwise.\r\n\r\nForcing it all onto a 204 as a configurable option would be a trivial enough change, but it would be a shame to have to deprecate it at some point if it turns out to be not entirely right.\r\n\r\nIs the lack of this option a pressing issue for you or blocking production deployment?"}}