{"pull_request":{"user":{"id":75555,"login":"kaitlin","url":"https://api.github.com/users/kaitlin","avatar_url":"https://secure.gravatar.com/avatar/0e627a947ffff94dc68b97b239b4b277?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0e627a947ffff94dc68b97b239b4b277"},"title":"Changed check for thrift vs. http connection","created_at":"2011-12-16T19:50:59Z","merged_at":null,"review_comments":0,"updated_at":"2011-12-16T19:50:59Z","state":"open","patch_url":"https://github.com/aparo/pyes/pull/140.patch","id":604423,"html_url":"https://github.com/aparo/pyes/pull/140","closed_at":null,"deletions":2,"mergeable":null,"base":{"user":{"id":28075,"login":"aparo","url":"https://api.github.com/users/aparo","avatar_url":"https://secure.gravatar.com/avatar/9f49104447ff24fa4247736bdd8332a4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9f49104447ff24fa4247736bdd8332a4"},"ref":"master","sha":"4c76af64d093f4e8c5105012cdfaf326e8040ae3","repo":{"open_issues":23,"watchers":151,"created_at":"2010-07-22T16:33:51Z","git_url":"git://github.com/aparo/pyes.git","updated_at":"2011-12-16T09:59:22Z","fork":false,"id":791373,"language":"Python","html_url":"https://github.com/aparo/pyes","name":"pyes","description":"Python connector for ElasticSearch","master_branch":null,"url":"https://api.github.com/repos/aparo/pyes","clone_url":"https://github.com/aparo/pyes.git","ssh_url":"git@github.com:aparo/pyes.git","forks":57,"pushed_at":"2011-12-12T10:45:19Z","owner":{"id":28075,"login":"aparo","url":"https://api.github.com/users/aparo","avatar_url":"https://secure.gravatar.com/avatar/9f49104447ff24fa4247736bdd8332a4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9f49104447ff24fa4247736bdd8332a4"},"homepage":"","svn_url":"https://svn.github.com/aparo/pyes","size":648,"private":false},"label":"aparo:master"},"issue_url":"https://github.com/aparo/pyes/issues/140","body":"We use a non standard port for ES but wanted to connect over http. I changed the hardcoded  \r\n```if port.starswith(\"92\"):```\r\n\r\nto \r\n```if self.connection_type='http':```\r\n\r\nand added a connection_type variable in the constructor that is 'http' by default.","number":140,"commits":1,"additions":4,"url":"https://api.github.com/repos/aparo/pyes/pulls/140","merged_by":null,"diff_url":"https://github.com/aparo/pyes/pull/140.diff","_links":{"review_comments":{"href":"https://api.github.com/repos/aparo/pyes/pulls/140/comments"},"html":{"href":"https://github.com/aparo/pyes/pull/140"},"self":{"href":"https://api.github.com/repos/aparo/pyes/pulls/140"},"comments":{"href":"https://api.github.com/repos/aparo/pyes/issues/140/comments"}},"comments":0,"head":{"user":{"id":40420,"login":"sunlightlabs","url":"https://api.github.com/users/sunlightlabs","avatar_url":"https://secure.gravatar.com/avatar/83fc7b3fdb0a6d29e064ebb44f0efa8c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"83fc7b3fdb0a6d29e064ebb44f0efa8c"},"ref":"master","sha":"0f9b3cc9d86ee679d8238187bb8d3e1f59916d2d","repo":{"open_issues":0,"watchers":1,"created_at":"2011-12-14T19:18:45Z","git_url":"git://github.com/sunlightlabs/pyes.git","updated_at":"2011-12-16T19:36:55Z","fork":true,"id":2982366,"language":"Python","html_url":"https://github.com/sunlightlabs/pyes","name":"pyes","description":"Python connector for ElasticSearch","master_branch":null,"url":"https://api.github.com/repos/sunlightlabs/pyes","clone_url":"https://github.com/sunlightlabs/pyes.git","ssh_url":"git@github.com:sunlightlabs/pyes.git","forks":0,"pushed_at":"2011-12-16T19:36:53Z","owner":{"id":40420,"login":"sunlightlabs","url":"https://api.github.com/users/sunlightlabs","avatar_url":"https://secure.gravatar.com/avatar/83fc7b3fdb0a6d29e064ebb44f0efa8c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"83fc7b3fdb0a6d29e064ebb44f0efa8c"},"homepage":"","svn_url":"https://svn.github.com/sunlightlabs/pyes","size":184,"private":false},"label":"sunlightlabs:master"},"changed_files":1,"merged":false},"number":140,"action":"opened"}