{"issue":{"user":{"id":108267,"login":"lexer","url":"https://api.github.com/users/lexer","gravatar_id":"7a772f4fb2c189c5ba2d0a25876b8f80","avatar_url":"https://secure.gravatar.com/avatar/7a772f4fb2c189c5ba2d0a25876b8f80?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"title":"What about putting host, schema and port inside chain?","created_at":"2011-04-20T16:46:01Z","updated_at":"2011-12-22T13:01:25Z","labels":[],"state":"closed","id":794727,"html_url":"https://github.com/visionmedia/superagent/issues/3","closed_at":"2011-12-22T13:01:25Z","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":3,"body":"agent\r\n  .ssl()\r\n  .host('localhost')\r\n  .port(3000)\r\n  .post('/action');\r\n\r\nUsing this it would be reuse same agent with another action of same host:\r\n\r\nvar base = agent.ssl(). host('localhost').port(3000);\r\n\r\nbase.post('/action1');\r\nbase.post('/action2'); // reuse same agent with another action of same host\r\n","url":"https://api.github.com/repos/visionmedia/superagent/issues/3","comments":3,"assignee":null},"comment":{"user":{"id":25254,"login":"visionmedia","url":"https://api.github.com/users/visionmedia","gravatar_id":"f1e3ab214a976a39cfd713bc93deb10f","avatar_url":"https://secure.gravatar.com/avatar/f1e3ab214a976a39cfd713bc93deb10f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-22T13:01:25Z","updated_at":"2011-12-22T13:01:25Z","id":3248750,"body":"closing for now","url":"https://api.github.com/repos/visionmedia/superagent/issues/comments/3248750"},"action":"created"}