{"action":"created","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/1437","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/1437/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/1437/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/1437/events","html_url":"https://github.com/creationix/nvm/pull/1437","id":215291807,"number":1437,"title":"[New] Enable curl auto compression/decompression","user":{"login":"PeterDaveHello","id":3691490,"avatar_url":"https://avatars0.githubusercontent.com/u/3691490?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDaveHello","html_url":"https://github.com/PeterDaveHello","followers_url":"https://api.github.com/users/PeterDaveHello/followers","following_url":"https://api.github.com/users/PeterDaveHello/following{/other_user}","gists_url":"https://api.github.com/users/PeterDaveHello/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDaveHello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDaveHello/subscriptions","organizations_url":"https://api.github.com/users/PeterDaveHello/orgs","repos_url":"https://api.github.com/users/PeterDaveHello/repos","events_url":"https://api.github.com/users/PeterDaveHello/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDaveHello/received_events","type":"User","site_admin":false},"labels":[{"id":132570776,"url":"https://api.github.com/repos/creationix/nvm/labels/needs%20followup","name":"needs followup","color":"FA94FD","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-19T20:23:04Z","updated_at":"2017-03-21T18:14:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/creationix/nvm/pulls/1437","html_url":"https://github.com/creationix/nvm/pull/1437","diff_url":"https://github.com/creationix/nvm/pull/1437.diff","patch_url":"https://github.com/creationix/nvm/pull/1437.patch"},"body":"Enable `--compressed` parameter on curl to automatically enable\r\ncompression on request content by sending coressponding header, if the\r\nserver side supports compression format like deflate or gzip, curl will\r\nalso decompress the content automatically, so there is no additional\r\nworks need to done manually on client side, but just enjoy the benifits\r\nof bandwidth and time saving!\r\n\r\nTake https://nodejs.org/dist/index.tab as an example which is last\r\nmodified on Tue, 14 Mar 2017 22:41:05 GMT, the compressed transmission\r\nonly take 4829 bytes howevet the not compressed on taks 48000 bytes,\r\nwhich is about 10 times larger!\r\n\r\nThis feature can be traced back to Sep 3 2002, in curl commit:\r\n - https://github.com/curl/curl/commit/64bbe9dfafc6693a96b742f3133c636385835a19\r\n\r\nSo should be supported on various versions widely.\r\n(even on Ubuntu 08.04, just tested!)"},"comment":{"url":"https://api.github.com/repos/creationix/nvm/issues/comments/288170588","html_url":"https://github.com/creationix/nvm/pull/1437#issuecomment-288170588","issue_url":"https://api.github.com/repos/creationix/nvm/issues/1437","id":288170588,"user":{"login":"PeterDaveHello","id":3691490,"avatar_url":"https://avatars0.githubusercontent.com/u/3691490?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDaveHello","html_url":"https://github.com/PeterDaveHello","followers_url":"https://api.github.com/users/PeterDaveHello/followers","following_url":"https://api.github.com/users/PeterDaveHello/following{/other_user}","gists_url":"https://api.github.com/users/PeterDaveHello/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDaveHello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDaveHello/subscriptions","organizations_url":"https://api.github.com/users/PeterDaveHello/orgs","repos_url":"https://api.github.com/users/PeterDaveHello/repos","events_url":"https://api.github.com/users/PeterDaveHello/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDaveHello/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T18:14:09Z","updated_at":"2017-03-21T18:14:09Z","body":"I'm not sure what exactly I should to do confirm that, as we choose Ubuntu 12.04 as the signal of git version requirement, and `curl --compressed` works even on Ubuntu 8.04, we can even trace back to 2002, which means Ubuntu 4.04 may even support it (but I don't have such an old platform to test it), I think we could give it a try."}}
{"actor":{"display_login":"PeterDaveHello"}}