{"action":"opened","number":109,"pull_request":{"url":"https://api.github.com/repos/twisted/treq/pulls/109","id":41191834,"html_url":"https://github.com/twisted/treq/pull/109","diff_url":"https://github.com/twisted/treq/pull/109.diff","patch_url":"https://github.com/twisted/treq/pull/109.patch","issue_url":"https://api.github.com/repos/twisted/treq/issues/109","number":109,"state":"open","locked":false,"title":"Emphasize client","user":{"login":"cwaldbieser","id":404653,"avatar_url":"https://avatars.githubusercontent.com/u/404653?v=3","gravatar_id":"","url":"https://api.github.com/users/cwaldbieser","html_url":"https://github.com/cwaldbieser","followers_url":"https://api.github.com/users/cwaldbieser/followers","following_url":"https://api.github.com/users/cwaldbieser/following{/other_user}","gists_url":"https://api.github.com/users/cwaldbieser/gists{/gist_id}","starred_url":"https://api.github.com/users/cwaldbieser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwaldbieser/subscriptions","organizations_url":"https://api.github.com/users/cwaldbieser/orgs","repos_url":"https://api.github.com/users/cwaldbieser/repos","events_url":"https://api.github.com/users/cwaldbieser/events{/privacy}","received_events_url":"https://api.github.com/users/cwaldbieser/received_events","type":"User","site_admin":false},"body":"Based on a conversation with Glyph in PR #76, I reverted the changes from that PR and instead updated the examples and documentation to emphasize that client code may interact with `treq.client.HTTPClient` directly.  In fact this should be *the* way to customize the behavior of the client.  The various `treq` request functions are just shortcuts.","created_at":"2015-07-30T02:07:52Z","updated_at":"2015-07-30T02:07:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"237c1db07ec092caa207af5b38edab40df359001","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twisted/treq/pulls/109/commits","review_comments_url":"https://api.github.com/repos/twisted/treq/pulls/109/comments","review_comment_url":"https://api.github.com/repos/twisted/treq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twisted/treq/issues/109/comments","statuses_url":"https://api.github.com/repos/twisted/treq/statuses/09379ff4c2a1ced053b4896feb9325a99055b208","head":{"label":"cwaldbieser:emphasize_client","ref":"emphasize_client","sha":"09379ff4c2a1ced053b4896feb9325a99055b208","user":{"login":"cwaldbieser","id":404653,"avatar_url":"https://avatars.githubusercontent.com/u/404653?v=3","gravatar_id":"","url":"https://api.github.com/users/cwaldbieser","html_url":"https://github.com/cwaldbieser","followers_url":"https://api.github.com/users/cwaldbieser/followers","following_url":"https://api.github.com/users/cwaldbieser/following{/other_user}","gists_url":"https://api.github.com/users/cwaldbieser/gists{/gist_id}","starred_url":"https://api.github.com/users/cwaldbieser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwaldbieser/subscriptions","organizations_url":"https://api.github.com/users/cwaldbieser/orgs","repos_url":"https://api.github.com/users/cwaldbieser/repos","events_url":"https://api.github.com/users/cwaldbieser/events{/privacy}","received_events_url":"https://api.github.com/users/cwaldbieser/received_events","type":"User","site_admin":false},"repo":{"id":24690784,"name":"treq","full_name":"cwaldbieser/treq","owner":{"login":"cwaldbieser","id":404653,"avatar_url":"https://avatars.githubusercontent.com/u/404653?v=3","gravatar_id":"","url":"https://api.github.com/users/cwaldbieser","html_url":"https://github.com/cwaldbieser","followers_url":"https://api.github.com/users/cwaldbieser/followers","following_url":"https://api.github.com/users/cwaldbieser/following{/other_user}","gists_url":"https://api.github.com/users/cwaldbieser/gists{/gist_id}","starred_url":"https://api.github.com/users/cwaldbieser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwaldbieser/subscriptions","organizations_url":"https://api.github.com/users/cwaldbieser/orgs","repos_url":"https://api.github.com/users/cwaldbieser/repos","events_url":"https://api.github.com/users/cwaldbieser/events{/privacy}","received_events_url":"https://api.github.com/users/cwaldbieser/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cwaldbieser/treq","description":"Python requests like API built on top of Twisted's HTTP client.","fork":true,"url":"https://api.github.com/repos/cwaldbieser/treq","forks_url":"https://api.github.com/repos/cwaldbieser/treq/forks","keys_url":"https://api.github.com/repos/cwaldbieser/treq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cwaldbieser/treq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cwaldbieser/treq/teams","hooks_url":"https://api.github.com/repos/cwaldbieser/treq/hooks","issue_events_url":"https://api.github.com/repos/cwaldbieser/treq/issues/events{/number}","events_url":"https://api.github.com/repos/cwaldbieser/treq/events","assignees_url":"https://api.github.com/repos/cwaldbieser/treq/assignees{/user}","branches_url":"https://api.github.com/repos/cwaldbieser/treq/branches{/branch}","tags_url":"https://api.github.com/repos/cwaldbieser/treq/tags","blobs_url":"https://api.github.com/repos/cwaldbieser/treq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cwaldbieser/treq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cwaldbieser/treq/git/refs{/sha}","trees_url":"https://api.github.com/repos/cwaldbieser/treq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cwaldbieser/treq/statuses/{sha}","languages_url":"https://api.github.com/repos/cwaldbieser/treq/languages","stargazers_url":"https://api.github.com/repos/cwaldbieser/treq/stargazers","contributors_url":"https://api.github.com/repos/cwaldbieser/treq/contributors","subscribers_url":"https://api.github.com/repos/cwaldbieser/treq/subscribers","subscription_url":"https://api.github.com/repos/cwaldbieser/treq/subscription","commits_url":"https://api.github.com/repos/cwaldbieser/treq/commits{/sha}","git_commits_url":"https://api.github.com/repos/cwaldbieser/treq/git/commits{/sha}","comments_url":"https://api.github.com/repos/cwaldbieser/treq/comments{/number}","issue_comment_url":"https://api.github.com/repos/cwaldbieser/treq/issues/comments{/number}","contents_url":"https://api.github.com/repos/cwaldbieser/treq/contents/{+path}","compare_url":"https://api.github.com/repos/cwaldbieser/treq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cwaldbieser/treq/merges","archive_url":"https://api.github.com/repos/cwaldbieser/treq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cwaldbieser/treq/downloads","issues_url":"https://api.github.com/repos/cwaldbieser/treq/issues{/number}","pulls_url":"https://api.github.com/repos/cwaldbieser/treq/pulls{/number}","milestones_url":"https://api.github.com/repos/cwaldbieser/treq/milestones{/number}","notifications_url":"https://api.github.com/repos/cwaldbieser/treq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cwaldbieser/treq/labels{/name}","releases_url":"https://api.github.com/repos/cwaldbieser/treq/releases{/id}","created_at":"2014-10-01T18:47:30Z","updated_at":"2014-09-25T18:01:26Z","pushed_at":"2015-07-30T02:04:23Z","git_url":"git://github.com/cwaldbieser/treq.git","ssh_url":"git@github.com:cwaldbieser/treq.git","clone_url":"https://github.com/cwaldbieser/treq.git","svn_url":"https://github.com/cwaldbieser/treq","homepage":null,"size":253,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"base":{"label":"twisted:master","ref":"master","sha":"8908452792868babae7b3c35b489f9047a6490df","user":{"login":"twisted","id":716546,"avatar_url":"https://avatars.githubusercontent.com/u/716546?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted","html_url":"https://github.com/twisted","followers_url":"https://api.github.com/users/twisted/followers","following_url":"https://api.github.com/users/twisted/following{/other_user}","gists_url":"https://api.github.com/users/twisted/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted/subscriptions","organizations_url":"https://api.github.com/users/twisted/orgs","repos_url":"https://api.github.com/users/twisted/repos","events_url":"https://api.github.com/users/twisted/events{/privacy}","received_events_url":"https://api.github.com/users/twisted/received_events","type":"Organization","site_admin":false},"repo":{"id":4372437,"name":"treq","full_name":"twisted/treq","owner":{"login":"twisted","id":716546,"avatar_url":"https://avatars.githubusercontent.com/u/716546?v=3","gravatar_id":"","url":"https://api.github.com/users/twisted","html_url":"https://github.com/twisted","followers_url":"https://api.github.com/users/twisted/followers","following_url":"https://api.github.com/users/twisted/following{/other_user}","gists_url":"https://api.github.com/users/twisted/gists{/gist_id}","starred_url":"https://api.github.com/users/twisted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisted/subscriptions","organizations_url":"https://api.github.com/users/twisted/orgs","repos_url":"https://api.github.com/users/twisted/repos","events_url":"https://api.github.com/users/twisted/events{/privacy}","received_events_url":"https://api.github.com/users/twisted/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twisted/treq","description":"Python requests like API built on top of Twisted's HTTP client.","fork":false,"url":"https://api.github.com/repos/twisted/treq","forks_url":"https://api.github.com/repos/twisted/treq/forks","keys_url":"https://api.github.com/repos/twisted/treq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twisted/treq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twisted/treq/teams","hooks_url":"https://api.github.com/repos/twisted/treq/hooks","issue_events_url":"https://api.github.com/repos/twisted/treq/issues/events{/number}","events_url":"https://api.github.com/repos/twisted/treq/events","assignees_url":"https://api.github.com/repos/twisted/treq/assignees{/user}","branches_url":"https://api.github.com/repos/twisted/treq/branches{/branch}","tags_url":"https://api.github.com/repos/twisted/treq/tags","blobs_url":"https://api.github.com/repos/twisted/treq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twisted/treq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twisted/treq/git/refs{/sha}","trees_url":"https://api.github.com/repos/twisted/treq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twisted/treq/statuses/{sha}","languages_url":"https://api.github.com/repos/twisted/treq/languages","stargazers_url":"https://api.github.com/repos/twisted/treq/stargazers","contributors_url":"https://api.github.com/repos/twisted/treq/contributors","subscribers_url":"https://api.github.com/repos/twisted/treq/subscribers","subscription_url":"https://api.github.com/repos/twisted/treq/subscription","commits_url":"https://api.github.com/repos/twisted/treq/commits{/sha}","git_commits_url":"https://api.github.com/repos/twisted/treq/git/commits{/sha}","comments_url":"https://api.github.com/repos/twisted/treq/comments{/number}","issue_comment_url":"https://api.github.com/repos/twisted/treq/issues/comments{/number}","contents_url":"https://api.github.com/repos/twisted/treq/contents/{+path}","compare_url":"https://api.github.com/repos/twisted/treq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twisted/treq/merges","archive_url":"https://api.github.com/repos/twisted/treq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twisted/treq/downloads","issues_url":"https://api.github.com/repos/twisted/treq/issues{/number}","pulls_url":"https://api.github.com/repos/twisted/treq/pulls{/number}","milestones_url":"https://api.github.com/repos/twisted/treq/milestones{/number}","notifications_url":"https://api.github.com/repos/twisted/treq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twisted/treq/labels{/name}","releases_url":"https://api.github.com/repos/twisted/treq/releases{/id}","created_at":"2012-05-18T18:57:21Z","updated_at":"2015-07-26T17:45:12Z","pushed_at":"2015-07-30T02:07:52Z","git_url":"git://github.com/twisted/treq.git","ssh_url":"git@github.com:twisted/treq.git","clone_url":"https://github.com/twisted/treq.git","svn_url":"https://github.com/twisted/treq","homepage":null,"size":1264,"stargazers_count":200,"watchers_count":200,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":29,"forks":56,"open_issues":29,"watchers":200,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twisted/treq/pulls/109"},"html":{"href":"https://github.com/twisted/treq/pull/109"},"issue":{"href":"https://api.github.com/repos/twisted/treq/issues/109"},"comments":{"href":"https://api.github.com/repos/twisted/treq/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/twisted/treq/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/twisted/treq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twisted/treq/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/twisted/treq/statuses/09379ff4c2a1ced053b4896feb9325a99055b208"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":77,"deletions":32,"changed_files":13}}