{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/owtf/http-request-translator/pulls/54","id":70980427,"html_url":"https://github.com/owtf/http-request-translator/pull/54","diff_url":"https://github.com/owtf/http-request-translator/pull/54.diff","patch_url":"https://github.com/owtf/http-request-translator/pull/54.patch","issue_url":"https://api.github.com/repos/owtf/http-request-translator/issues/54","number":54,"state":"closed","locked":false,"title":"Phase 1 Task - Implement single interface/class for HTTP Request Translator","user":{"login":"dhruvagarwal","id":4587641,"avatar_url":"https://avatars.githubusercontent.com/u/4587641?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvagarwal","html_url":"https://github.com/dhruvagarwal","followers_url":"https://api.github.com/users/dhruvagarwal/followers","following_url":"https://api.github.com/users/dhruvagarwal/following{/other_user}","gists_url":"https://api.github.com/users/dhruvagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvagarwal/subscriptions","organizations_url":"https://api.github.com/users/dhruvagarwal/orgs","repos_url":"https://api.github.com/users/dhruvagarwal/repos","events_url":"https://api.github.com/users/dhruvagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvagarwal/received_events","type":"User","site_admin":false},"body":"I have created a class `` HttpRequestTranslator `` which acts as a single interface to deal with conversion of raw HTTP requests to code.\r\nEarlier, there was a very coupled mechanism which only worked with CLI. I have modularized the code.\r\nNow, ``cli.py`` handles the command line interaction and calls the ``HttpRequestTranslator`` for conversion.\r\n","created_at":"2016-05-22T15:49:37Z","updated_at":"2016-06-19T11:11:51Z","closed_at":"2016-06-19T11:11:51Z","merged_at":"2016-06-19T11:11:51Z","merge_commit_sha":"689f6db60f0f7bc12d65ef88ddf6b3202c0cb201","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/owtf/http-request-translator/pulls/54/commits","review_comments_url":"https://api.github.com/repos/owtf/http-request-translator/pulls/54/comments","review_comment_url":"https://api.github.com/repos/owtf/http-request-translator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owtf/http-request-translator/issues/54/comments","statuses_url":"https://api.github.com/repos/owtf/http-request-translator/statuses/689f6db60f0f7bc12d65ef88ddf6b3202c0cb201","head":{"label":"dhruvagarwal:phase1-soc","ref":"phase1-soc","sha":"689f6db60f0f7bc12d65ef88ddf6b3202c0cb201","user":{"login":"dhruvagarwal","id":4587641,"avatar_url":"https://avatars.githubusercontent.com/u/4587641?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvagarwal","html_url":"https://github.com/dhruvagarwal","followers_url":"https://api.github.com/users/dhruvagarwal/followers","following_url":"https://api.github.com/users/dhruvagarwal/following{/other_user}","gists_url":"https://api.github.com/users/dhruvagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvagarwal/subscriptions","organizations_url":"https://api.github.com/users/dhruvagarwal/orgs","repos_url":"https://api.github.com/users/dhruvagarwal/repos","events_url":"https://api.github.com/users/dhruvagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvagarwal/received_events","type":"User","site_admin":false},"repo":{"id":38187680,"name":"http-request-translator","full_name":"dhruvagarwal/http-request-translator","owner":{"login":"dhruvagarwal","id":4587641,"avatar_url":"https://avatars.githubusercontent.com/u/4587641?v=3","gravatar_id":"","url":"https://api.github.com/users/dhruvagarwal","html_url":"https://github.com/dhruvagarwal","followers_url":"https://api.github.com/users/dhruvagarwal/followers","following_url":"https://api.github.com/users/dhruvagarwal/following{/other_user}","gists_url":"https://api.github.com/users/dhruvagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvagarwal/subscriptions","organizations_url":"https://api.github.com/users/dhruvagarwal/orgs","repos_url":"https://api.github.com/users/dhruvagarwal/repos","events_url":"https://api.github.com/users/dhruvagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvagarwal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhruvagarwal/http-request-translator","description":"","fork":true,"url":"https://api.github.com/repos/dhruvagarwal/http-request-translator","forks_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/forks","keys_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/teams","hooks_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/hooks","issue_events_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/issues/events{/number}","events_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/events","assignees_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/assignees{/user}","branches_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/branches{/branch}","tags_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/tags","blobs_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/statuses/{sha}","languages_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/languages","stargazers_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/stargazers","contributors_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/contributors","subscribers_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/subscribers","subscription_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/subscription","commits_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/contents/{+path}","compare_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/merges","archive_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/downloads","issues_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/issues{/number}","pulls_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/pulls{/number}","milestones_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/milestones{/number}","notifications_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/labels{/name}","releases_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/releases{/id}","deployments_url":"https://api.github.com/repos/dhruvagarwal/http-request-translator/deployments","created_at":"2015-06-28T05:28:23Z","updated_at":"2016-03-05T07:38:45Z","pushed_at":"2016-06-19T10:45:21Z","git_url":"git://github.com/dhruvagarwal/http-request-translator.git","ssh_url":"git@github.com:dhruvagarwal/http-request-translator.git","clone_url":"https://github.com/dhruvagarwal/http-request-translator.git","svn_url":"https://github.com/dhruvagarwal/http-request-translator","homepage":null,"size":183,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"dev"}},"base":{"label":"owtf:dev","ref":"dev","sha":"9524560314ddbe40de17b8aeeedd4cba7a0b3ad1","user":{"login":"owtf","id":1230211,"avatar_url":"https://avatars.githubusercontent.com/u/1230211?v=3","gravatar_id":"","url":"https://api.github.com/users/owtf","html_url":"https://github.com/owtf","followers_url":"https://api.github.com/users/owtf/followers","following_url":"https://api.github.com/users/owtf/following{/other_user}","gists_url":"https://api.github.com/users/owtf/gists{/gist_id}","starred_url":"https://api.github.com/users/owtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owtf/subscriptions","organizations_url":"https://api.github.com/users/owtf/orgs","repos_url":"https://api.github.com/users/owtf/repos","events_url":"https://api.github.com/users/owtf/events{/privacy}","received_events_url":"https://api.github.com/users/owtf/received_events","type":"Organization","site_admin":false},"repo":{"id":25484148,"name":"http-request-translator","full_name":"owtf/http-request-translator","owner":{"login":"owtf","id":1230211,"avatar_url":"https://avatars.githubusercontent.com/u/1230211?v=3","gravatar_id":"","url":"https://api.github.com/users/owtf","html_url":"https://github.com/owtf","followers_url":"https://api.github.com/users/owtf/followers","following_url":"https://api.github.com/users/owtf/following{/other_user}","gists_url":"https://api.github.com/users/owtf/gists{/gist_id}","starred_url":"https://api.github.com/users/owtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owtf/subscriptions","organizations_url":"https://api.github.com/users/owtf/orgs","repos_url":"https://api.github.com/users/owtf/repos","events_url":"https://api.github.com/users/owtf/events{/privacy}","received_events_url":"https://api.github.com/users/owtf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owtf/http-request-translator","description":"","fork":false,"url":"https://api.github.com/repos/owtf/http-request-translator","forks_url":"https://api.github.com/repos/owtf/http-request-translator/forks","keys_url":"https://api.github.com/repos/owtf/http-request-translator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owtf/http-request-translator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owtf/http-request-translator/teams","hooks_url":"https://api.github.com/repos/owtf/http-request-translator/hooks","issue_events_url":"https://api.github.com/repos/owtf/http-request-translator/issues/events{/number}","events_url":"https://api.github.com/repos/owtf/http-request-translator/events","assignees_url":"https://api.github.com/repos/owtf/http-request-translator/assignees{/user}","branches_url":"https://api.github.com/repos/owtf/http-request-translator/branches{/branch}","tags_url":"https://api.github.com/repos/owtf/http-request-translator/tags","blobs_url":"https://api.github.com/repos/owtf/http-request-translator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owtf/http-request-translator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owtf/http-request-translator/git/refs{/sha}","trees_url":"https://api.github.com/repos/owtf/http-request-translator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owtf/http-request-translator/statuses/{sha}","languages_url":"https://api.github.com/repos/owtf/http-request-translator/languages","stargazers_url":"https://api.github.com/repos/owtf/http-request-translator/stargazers","contributors_url":"https://api.github.com/repos/owtf/http-request-translator/contributors","subscribers_url":"https://api.github.com/repos/owtf/http-request-translator/subscribers","subscription_url":"https://api.github.com/repos/owtf/http-request-translator/subscription","commits_url":"https://api.github.com/repos/owtf/http-request-translator/commits{/sha}","git_commits_url":"https://api.github.com/repos/owtf/http-request-translator/git/commits{/sha}","comments_url":"https://api.github.com/repos/owtf/http-request-translator/comments{/number}","issue_comment_url":"https://api.github.com/repos/owtf/http-request-translator/issues/comments{/number}","contents_url":"https://api.github.com/repos/owtf/http-request-translator/contents/{+path}","compare_url":"https://api.github.com/repos/owtf/http-request-translator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owtf/http-request-translator/merges","archive_url":"https://api.github.com/repos/owtf/http-request-translator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owtf/http-request-translator/downloads","issues_url":"https://api.github.com/repos/owtf/http-request-translator/issues{/number}","pulls_url":"https://api.github.com/repos/owtf/http-request-translator/pulls{/number}","milestones_url":"https://api.github.com/repos/owtf/http-request-translator/milestones{/number}","notifications_url":"https://api.github.com/repos/owtf/http-request-translator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owtf/http-request-translator/labels{/name}","releases_url":"https://api.github.com/repos/owtf/http-request-translator/releases{/id}","deployments_url":"https://api.github.com/repos/owtf/http-request-translator/deployments","created_at":"2014-10-20T20:00:48Z","updated_at":"2016-05-14T10:40:59Z","pushed_at":"2016-06-19T11:11:51Z","git_url":"git://github.com/owtf/http-request-translator.git","ssh_url":"git@github.com:owtf/http-request-translator.git","clone_url":"https://github.com/owtf/http-request-translator.git","svn_url":"https://github.com/owtf/http-request-translator","homepage":null,"size":218,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":11,"forks":8,"open_issues":11,"watchers":6,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/owtf/http-request-translator/pulls/54"},"html":{"href":"https://github.com/owtf/http-request-translator/pull/54"},"issue":{"href":"https://api.github.com/repos/owtf/http-request-translator/issues/54"},"comments":{"href":"https://api.github.com/repos/owtf/http-request-translator/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/owtf/http-request-translator/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/owtf/http-request-translator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owtf/http-request-translator/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/owtf/http-request-translator/statuses/689f6db60f0f7bc12d65ef88ddf6b3202c0cb201"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"DePierre","id":923297,"avatar_url":"https://avatars.githubusercontent.com/u/923297?v=3","gravatar_id":"","url":"https://api.github.com/users/DePierre","html_url":"https://github.com/DePierre","followers_url":"https://api.github.com/users/DePierre/followers","following_url":"https://api.github.com/users/DePierre/following{/other_user}","gists_url":"https://api.github.com/users/DePierre/gists{/gist_id}","starred_url":"https://api.github.com/users/DePierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DePierre/subscriptions","organizations_url":"https://api.github.com/users/DePierre/orgs","repos_url":"https://api.github.com/users/DePierre/repos","events_url":"https://api.github.com/users/DePierre/events{/privacy}","received_events_url":"https://api.github.com/users/DePierre/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":266,"deletions":72,"changed_files":5}}
{"actor":{"display_login":"DePierre"}}