{"action":"closed","issue":{"number":1413,"created_at":"2011-07-28T17:18:33Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"If you run the below code on 0.4.10 you'll notice that it never prints \"RESPONSE ENDED\". On 0.4.7 it does. If you comment out the accept-encoding, then it works, but the server is _not_ sending back compressed content in either case.\r\n\r\n    var sys = require('sys');\r\n    var https = require('https');\r\n  \r\n    var http_options = {\r\n      host: 'www.google.com',\r\n      port: '443',\r\n      path: '/accounts/ServiceLogin',\r\n      method: 'GET'\r\n    };\r\n\r\n    http_options.headers = {\r\n      \"accept-encoding\": 'gzip'\r\n    };\r\n\r\n    var req = https.request(http_options);\r\n\r\n    req.on('response', function(res) {\r\n      res.on('data', function(chunk) { sys.puts(chunk.slice(0, 10)); });\r\n      res.on('end', function() { sys.puts(\"RESPONE ENDED!\"); });\r\n    });\r\n\r\n    req.end();","comments":4,"title":"Response won't end on 0.4.10","updated_at":"2011-10-26T11:27:25Z","url":"https://api.github.com/repos/joyent/node/issues/1413","id":1304315,"assignee":null,"milestone":null,"closed_at":"2011-10-26T11:27:25Z","user":{"gravatar_id":"4ddd5d37fbbffd1f6bb471d64efd7ca7","avatar_url":"https://secure.gravatar.com/avatar/4ddd5d37fbbffd1f6bb471d64efd7ca7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/pkulak","id":502905,"login":"pkulak"},"html_url":"https://github.com/joyent/node/issues/1413","labels":[{"name":"https","url":"https://api.github.com/repos/joyent/node/labels/https","color":"e10c02"}],"state":"closed"},"legacy":{"number":1413,"action":"closed","issue":1304315}}