{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1776","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1776/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1776/events","html_url":"https://github.com/ipfs/go-ipfs/pull/1776","id":109423120,"number":1776,"title":"fix http output to never have both transfer-encoding and content-length","user":{"login":"WeMeetAgain","id":1348242,"avatar_url":"https://avatars.githubusercontent.com/u/1348242?v=3","gravatar_id":"","url":"https://api.github.com/users/WeMeetAgain","html_url":"https://github.com/WeMeetAgain","followers_url":"https://api.github.com/users/WeMeetAgain/followers","following_url":"https://api.github.com/users/WeMeetAgain/following{/other_user}","gists_url":"https://api.github.com/users/WeMeetAgain/gists{/gist_id}","starred_url":"https://api.github.com/users/WeMeetAgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeMeetAgain/subscriptions","organizations_url":"https://api.github.com/users/WeMeetAgain/orgs","repos_url":"https://api.github.com/users/WeMeetAgain/repos","events_url":"https://api.github.com/users/WeMeetAgain/events{/privacy}","received_events_url":"https://api.github.com/users/WeMeetAgain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/backlog","name":"backlog","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T03:24:18Z","updated_at":"2015-10-09T10:06:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/1776","html_url":"https://github.com/ipfs/go-ipfs/pull/1776","diff_url":"https://github.com/ipfs/go-ipfs/pull/1776.diff","patch_url":"https://github.com/ipfs/go-ipfs/pull/1776.patch"},"body":"Fixes #1765\r\n\r\nIn practice, since our http responses are unconditionally sending a non-identity Transfer-Encoding header, we must unconditionally not send a Content-Length Header.\r\n"},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/146821957","html_url":"https://github.com/ipfs/go-ipfs/pull/1776#issuecomment-146821957","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1776","id":146821957,"user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T10:06:31Z","updated_at":"2015-10-09T10:06:31Z","body":"We should also always return correct length-- have seen it off sometimes\n\nOn Thursday, October 8, 2015, Jeromy Johnson <notifications@github.com>\nwrote:\n\n> We had decided in another PR that we should set the header\n> X-Content-Length or similar, so clients who want the info have it, but so\n> that we also dont break things that make poor assumptions.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ipfs/go-ipfs/pull/1776#issuecomment-146602619>.\n>\n"}}