{"action":"created","comment":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/comments/45681662","id":45681662,"diff_hunk":"@@ -156,7 +157,12 @@ def get(self, path, args={}, wait='short'):\n         uri = self.make_uri(path)\n         timeout = self.make_timeout(wait)\n         try:\n-            rsp = self._requests_con.get(uri, params=args, timeout=timeout, verify=self.strong_ssl)\n+            headers = {\n+                'content-type': 'application/zlib',","path":"alignak/http/client.py","position":22,"original_position":22,"commit_id":"9b81e5c9a4427c55d60519cac97db6f835f95e06","original_commit_id":"9b81e5c9a4427c55d60519cac97db6f835f95e06","user":{"login":"Seb-Solon","id":856137,"avatar_url":"https://avatars.githubusercontent.com/u/856137?v=3","gravatar_id":"","url":"https://api.github.com/users/Seb-Solon","html_url":"https://github.com/Seb-Solon","followers_url":"https://api.github.com/users/Seb-Solon/followers","following_url":"https://api.github.com/users/Seb-Solon/following{/other_user}","gists_url":"https://api.github.com/users/Seb-Solon/gists{/gist_id}","starred_url":"https://api.github.com/users/Seb-Solon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seb-Solon/subscriptions","organizations_url":"https://api.github.com/users/Seb-Solon/orgs","repos_url":"https://api.github.com/users/Seb-Solon/repos","events_url":"https://api.github.com/users/Seb-Solon/events{/privacy}","received_events_url":"https://api.github.com/users/Seb-Solon/received_events","type":"User","site_admin":false},"body":"We may have talked about it but are you sure it's always in zlib format? Maybe  this statement force the zlib format?","created_at":"2015-11-24T00:18:35Z","updated_at":"2015-11-24T00:18:35Z","html_url":"https://github.com/Alignak-monitoring/alignak/pull/242#discussion_r45681662","pull_request_url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242","_links":{"self":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/comments/45681662"},"html":{"href":"https://github.com/Alignak-monitoring/alignak/pull/242#discussion_r45681662"},"pull_request":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242","id":49489382,"html_url":"https://github.com/Alignak-monitoring/alignak/pull/242","diff_url":"https://github.com/Alignak-monitoring/alignak/pull/242.diff","patch_url":"https://github.com/Alignak-monitoring/alignak/pull/242.patch","issue_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/242","number":242,"state":"open","locked":false,"title":"Add name of module in user-agent in request.","user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"body":"Add info who make the request in DEBUG mode in the user-agent","created_at":"2015-11-02T21:39:25Z","updated_at":"2015-11-24T00:18:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9b7769a41891e92c03bfcdcf0ddb0e2b696e1b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242/commits","review_comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242/comments","review_comment_url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/242/comments","statuses_url":"https://api.github.com/repos/Alignak-monitoring/alignak/statuses/9b81e5c9a4427c55d60519cac97db6f835f95e06","head":{"label":"ddurieux:develop+useragent","ref":"develop+useragent","sha":"9b81e5c9a4427c55d60519cac97db6f835f95e06","user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"repo":{"id":35243697,"name":"alignak","full_name":"ddurieux/alignak","owner":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ddurieux/alignak","description":"","fork":true,"url":"https://api.github.com/repos/ddurieux/alignak","forks_url":"https://api.github.com/repos/ddurieux/alignak/forks","keys_url":"https://api.github.com/repos/ddurieux/alignak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ddurieux/alignak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ddurieux/alignak/teams","hooks_url":"https://api.github.com/repos/ddurieux/alignak/hooks","issue_events_url":"https://api.github.com/repos/ddurieux/alignak/issues/events{/number}","events_url":"https://api.github.com/repos/ddurieux/alignak/events","assignees_url":"https://api.github.com/repos/ddurieux/alignak/assignees{/user}","branches_url":"https://api.github.com/repos/ddurieux/alignak/branches{/branch}","tags_url":"https://api.github.com/repos/ddurieux/alignak/tags","blobs_url":"https://api.github.com/repos/ddurieux/alignak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ddurieux/alignak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ddurieux/alignak/git/refs{/sha}","trees_url":"https://api.github.com/repos/ddurieux/alignak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ddurieux/alignak/statuses/{sha}","languages_url":"https://api.github.com/repos/ddurieux/alignak/languages","stargazers_url":"https://api.github.com/repos/ddurieux/alignak/stargazers","contributors_url":"https://api.github.com/repos/ddurieux/alignak/contributors","subscribers_url":"https://api.github.com/repos/ddurieux/alignak/subscribers","subscription_url":"https://api.github.com/repos/ddurieux/alignak/subscription","commits_url":"https://api.github.com/repos/ddurieux/alignak/commits{/sha}","git_commits_url":"https://api.github.com/repos/ddurieux/alignak/git/commits{/sha}","comments_url":"https://api.github.com/repos/ddurieux/alignak/comments{/number}","issue_comment_url":"https://api.github.com/repos/ddurieux/alignak/issues/comments{/number}","contents_url":"https://api.github.com/repos/ddurieux/alignak/contents/{+path}","compare_url":"https://api.github.com/repos/ddurieux/alignak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ddurieux/alignak/merges","archive_url":"https://api.github.com/repos/ddurieux/alignak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ddurieux/alignak/downloads","issues_url":"https://api.github.com/repos/ddurieux/alignak/issues{/number}","pulls_url":"https://api.github.com/repos/ddurieux/alignak/pulls{/number}","milestones_url":"https://api.github.com/repos/ddurieux/alignak/milestones{/number}","notifications_url":"https://api.github.com/repos/ddurieux/alignak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ddurieux/alignak/labels{/name}","releases_url":"https://api.github.com/repos/ddurieux/alignak/releases{/id}","created_at":"2015-05-07T21:09:27Z","updated_at":"2015-05-20T03:56:59Z","pushed_at":"2015-11-20T10:52:05Z","git_url":"git://github.com/ddurieux/alignak.git","ssh_url":"git@github.com:ddurieux/alignak.git","clone_url":"https://github.com/ddurieux/alignak.git","svn_url":"https://github.com/ddurieux/alignak","homepage":null,"size":42677,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop+CONTRIBUTING"}},"base":{"label":"Alignak-monitoring:develop","ref":"develop","sha":"0cf348d1e64a215f83c671738bf3fa3a0906751b","user":{"login":"Alignak-monitoring","id":12305279,"avatar_url":"https://avatars.githubusercontent.com/u/12305279?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring","html_url":"https://github.com/Alignak-monitoring","followers_url":"https://api.github.com/users/Alignak-monitoring/followers","following_url":"https://api.github.com/users/Alignak-monitoring/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring/repos","events_url":"https://api.github.com/users/Alignak-monitoring/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring/received_events","type":"Organization","site_admin":false},"repo":{"id":35242228,"name":"alignak","full_name":"Alignak-monitoring/alignak","owner":{"login":"Alignak-monitoring","id":12305279,"avatar_url":"https://avatars.githubusercontent.com/u/12305279?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring","html_url":"https://github.com/Alignak-monitoring","followers_url":"https://api.github.com/users/Alignak-monitoring/followers","following_url":"https://api.github.com/users/Alignak-monitoring/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring/repos","events_url":"https://api.github.com/users/Alignak-monitoring/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alignak-monitoring/alignak","description":"","fork":false,"url":"https://api.github.com/repos/Alignak-monitoring/alignak","forks_url":"https://api.github.com/repos/Alignak-monitoring/alignak/forks","keys_url":"https://api.github.com/repos/Alignak-monitoring/alignak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alignak-monitoring/alignak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alignak-monitoring/alignak/teams","hooks_url":"https://api.github.com/repos/Alignak-monitoring/alignak/hooks","issue_events_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/events{/number}","events_url":"https://api.github.com/repos/Alignak-monitoring/alignak/events","assignees_url":"https://api.github.com/repos/Alignak-monitoring/alignak/assignees{/user}","branches_url":"https://api.github.com/repos/Alignak-monitoring/alignak/branches{/branch}","tags_url":"https://api.github.com/repos/Alignak-monitoring/alignak/tags","blobs_url":"https://api.github.com/repos/Alignak-monitoring/alignak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alignak-monitoring/alignak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alignak-monitoring/alignak/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alignak-monitoring/alignak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alignak-monitoring/alignak/statuses/{sha}","languages_url":"https://api.github.com/repos/Alignak-monitoring/alignak/languages","stargazers_url":"https://api.github.com/repos/Alignak-monitoring/alignak/stargazers","contributors_url":"https://api.github.com/repos/Alignak-monitoring/alignak/contributors","subscribers_url":"https://api.github.com/repos/Alignak-monitoring/alignak/subscribers","subscription_url":"https://api.github.com/repos/Alignak-monitoring/alignak/subscription","commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alignak-monitoring/alignak/contents/{+path}","compare_url":"https://api.github.com/repos/Alignak-monitoring/alignak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alignak-monitoring/alignak/merges","archive_url":"https://api.github.com/repos/Alignak-monitoring/alignak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alignak-monitoring/alignak/downloads","issues_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues{/number}","pulls_url":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls{/number}","milestones_url":"https://api.github.com/repos/Alignak-monitoring/alignak/milestones{/number}","notifications_url":"https://api.github.com/repos/Alignak-monitoring/alignak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alignak-monitoring/alignak/labels{/name}","releases_url":"https://api.github.com/repos/Alignak-monitoring/alignak/releases{/id}","created_at":"2015-05-07T20:35:42Z","updated_at":"2015-11-01T05:36:16Z","pushed_at":"2015-11-24T00:12:27Z","git_url":"git://github.com/Alignak-monitoring/alignak.git","ssh_url":"git@github.com:Alignak-monitoring/alignak.git","clone_url":"https://github.com/Alignak-monitoring/alignak.git","svn_url":"https://github.com/Alignak-monitoring/alignak","homepage":null,"size":43896,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":55,"forks":10,"open_issues":55,"watchers":18,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242"},"html":{"href":"https://github.com/Alignak-monitoring/alignak/pull/242"},"issue":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/242"},"comments":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak/statuses/9b81e5c9a4427c55d60519cac97db6f835f95e06"}}}}