{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/3385","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/3385/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/3385/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/3385/events","html_url":"https://github.com/haskell/cabal/pull/3385","id":152509542,"number":3385,"title":"Don't ignore 206 response in plain-http transport","user":{"login":"edsko","id":935288,"avatar_url":"https://avatars.githubusercontent.com/u/935288?v=3","gravatar_id":"","url":"https://api.github.com/users/edsko","html_url":"https://github.com/edsko","followers_url":"https://api.github.com/users/edsko/followers","following_url":"https://api.github.com/users/edsko/following{/other_user}","gists_url":"https://api.github.com/users/edsko/gists{/gist_id}","starred_url":"https://api.github.com/users/edsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edsko/subscriptions","organizations_url":"https://api.github.com/users/edsko/orgs","repos_url":"https://api.github.com/users/edsko/repos","events_url":"https://api.github.com/users/edsko/events{/privacy}","received_events_url":"https://api.github.com/users/edsko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/haskell/cabal/labels/high-priority","name":"high-priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/haskell/cabal/milestones/29","html_url":"https://github.com/haskell/cabal/milestones/cabal-install%201.24","labels_url":"https://api.github.com/repos/haskell/cabal/milestones/29/labels","id":929438,"number":29,"title":"cabal-install 1.24","description":"","creator":{"login":"tibbe","id":17277,"avatar_url":"https://avatars.githubusercontent.com/u/17277?v=3","gravatar_id":"","url":"https://api.github.com/users/tibbe","html_url":"https://github.com/tibbe","followers_url":"https://api.github.com/users/tibbe/followers","following_url":"https://api.github.com/users/tibbe/following{/other_user}","gists_url":"https://api.github.com/users/tibbe/gists{/gist_id}","starred_url":"https://api.github.com/users/tibbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tibbe/subscriptions","organizations_url":"https://api.github.com/users/tibbe/orgs","repos_url":"https://api.github.com/users/tibbe/repos","events_url":"https://api.github.com/users/tibbe/events{/privacy}","received_events_url":"https://api.github.com/users/tibbe/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":54,"state":"open","created_at":"2015-01-09T23:38:12Z","updated_at":"2016-05-02T08:59:11Z","due_on":"2016-04-25T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-05-02T08:56:44Z","updated_at":"2016-05-02T09:16:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/3385","html_url":"https://github.com/haskell/cabal/pull/3385","diff_url":"https://github.com/haskell/cabal/pull/3385.diff","patch_url":"https://github.com/haskell/cabal/pull/3385.patch"},"body":"The plainHttpTransport implementation saved the resulting file only when the\r\nserver responded with 200 OK, thus ignoring the payload from the server when\r\nthe server responded with a 206 Partial Content. This was causing incremental\r\nupdates through hackage-security to fail (it wouldn't fail fatally;\r\nhackage-security would notice the invalid timestamp and download the whole\r\nthing instead, but of course this means we're not actually getting any\r\nincremental behaviour)."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/216166639","html_url":"https://github.com/haskell/cabal/pull/3385#issuecomment-216166639","issue_url":"https://api.github.com/repos/haskell/cabal/issues/3385","id":216166639,"user":{"login":"23Skidoo","id":47439,"avatar_url":"https://avatars.githubusercontent.com/u/47439?v=3","gravatar_id":"","url":"https://api.github.com/users/23Skidoo","html_url":"https://github.com/23Skidoo","followers_url":"https://api.github.com/users/23Skidoo/followers","following_url":"https://api.github.com/users/23Skidoo/following{/other_user}","gists_url":"https://api.github.com/users/23Skidoo/gists{/gist_id}","starred_url":"https://api.github.com/users/23Skidoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/23Skidoo/subscriptions","organizations_url":"https://api.github.com/users/23Skidoo/orgs","repos_url":"https://api.github.com/users/23Skidoo/repos","events_url":"https://api.github.com/users/23Skidoo/events{/privacy}","received_events_url":"https://api.github.com/users/23Skidoo/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T09:16:58Z","updated_at":"2016-05-02T09:16:58Z","body":"Are other transports not affected?"}}