{"action":"created","comment":{"url":"https://api.github.com/repos/juju/httprequest/pulls/comments/35412352","id":35412352,"diff_hunk":"@@ -1,3 +1,5 @@\n package httprequest\n \n var AppendURL = appendURL\n+var CheckIsJSON = checkIsJSON\n+var MaxErrorBodySize = &maxErrorBodySize","path":"export_test.go","position":5,"original_position":5,"commit_id":"da43f3fd012e3119540bebe7881f2b70835d737d","original_commit_id":"da43f3fd012e3119540bebe7881f2b70835d737d","user":{"login":"mhilton","id":1136018,"avatar_url":"https://avatars.githubusercontent.com/u/1136018?v=3","gravatar_id":"","url":"https://api.github.com/users/mhilton","html_url":"https://github.com/mhilton","followers_url":"https://api.github.com/users/mhilton/followers","following_url":"https://api.github.com/users/mhilton/following{/other_user}","gists_url":"https://api.github.com/users/mhilton/gists{/gist_id}","starred_url":"https://api.github.com/users/mhilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhilton/subscriptions","organizations_url":"https://api.github.com/users/mhilton/orgs","repos_url":"https://api.github.com/users/mhilton/repos","events_url":"https://api.github.com/users/mhilton/events{/privacy}","received_events_url":"https://api.github.com/users/mhilton/received_events","type":"User","site_admin":false},"body":"newline at end of file.","created_at":"2015-07-24T10:40:52Z","updated_at":"2015-07-24T10:40:52Z","html_url":"https://github.com/juju/httprequest/pull/21#discussion_r35412352","pull_request_url":"https://api.github.com/repos/juju/httprequest/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/juju/httprequest/pulls/comments/35412352"},"html":{"href":"https://github.com/juju/httprequest/pull/21#discussion_r35412352"},"pull_request":{"href":"https://api.github.com/repos/juju/httprequest/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/juju/httprequest/pulls/21","id":40761015,"html_url":"https://github.com/juju/httprequest/pull/21","diff_url":"https://github.com/juju/httprequest/pull/21.diff","patch_url":"https://github.com/juju/httprequest/pull/21.patch","issue_url":"https://api.github.com/repos/juju/httprequest/issues/21","number":21,"state":"open","locked":false,"title":"provide better error message when the content type is unexpected","user":{"login":"rogpeppe","id":66491,"avatar_url":"https://avatars.githubusercontent.com/u/66491?v=3","gravatar_id":"","url":"https://api.github.com/users/rogpeppe","html_url":"https://github.com/rogpeppe","followers_url":"https://api.github.com/users/rogpeppe/followers","following_url":"https://api.github.com/users/rogpeppe/following{/other_user}","gists_url":"https://api.github.com/users/rogpeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/rogpeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogpeppe/subscriptions","organizations_url":"https://api.github.com/users/rogpeppe/orgs","repos_url":"https://api.github.com/users/rogpeppe/repos","events_url":"https://api.github.com/users/rogpeppe/events{/privacy}","received_events_url":"https://api.github.com/users/rogpeppe/received_events","type":"User","site_admin":false},"body":"This could be considered overkill but it will potentially help quite a bit.","created_at":"2015-07-24T10:14:43Z","updated_at":"2015-07-24T10:40:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4a8ff5c11d1ea7ed40a2a90eeacfe85b03c1938","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juju/httprequest/pulls/21/commits","review_comments_url":"https://api.github.com/repos/juju/httprequest/pulls/21/comments","review_comment_url":"https://api.github.com/repos/juju/httprequest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juju/httprequest/issues/21/comments","statuses_url":"https://api.github.com/repos/juju/httprequest/statuses/da43f3fd012e3119540bebe7881f2b70835d737d","head":{"label":"rogpeppe:020-better-error-messages","ref":"020-better-error-messages","sha":"da43f3fd012e3119540bebe7881f2b70835d737d","user":{"login":"rogpeppe","id":66491,"avatar_url":"https://avatars.githubusercontent.com/u/66491?v=3","gravatar_id":"","url":"https://api.github.com/users/rogpeppe","html_url":"https://github.com/rogpeppe","followers_url":"https://api.github.com/users/rogpeppe/followers","following_url":"https://api.github.com/users/rogpeppe/following{/other_user}","gists_url":"https://api.github.com/users/rogpeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/rogpeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogpeppe/subscriptions","organizations_url":"https://api.github.com/users/rogpeppe/orgs","repos_url":"https://api.github.com/users/rogpeppe/repos","events_url":"https://api.github.com/users/rogpeppe/events{/privacy}","received_events_url":"https://api.github.com/users/rogpeppe/received_events","type":"User","site_admin":false},"repo":{"id":30354463,"name":"httprequest","full_name":"rogpeppe/httprequest","owner":{"login":"rogpeppe","id":66491,"avatar_url":"https://avatars.githubusercontent.com/u/66491?v=3","gravatar_id":"","url":"https://api.github.com/users/rogpeppe","html_url":"https://github.com/rogpeppe","followers_url":"https://api.github.com/users/rogpeppe/followers","following_url":"https://api.github.com/users/rogpeppe/following{/other_user}","gists_url":"https://api.github.com/users/rogpeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/rogpeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogpeppe/subscriptions","organizations_url":"https://api.github.com/users/rogpeppe/orgs","repos_url":"https://api.github.com/users/rogpeppe/repos","events_url":"https://api.github.com/users/rogpeppe/events{/privacy}","received_events_url":"https://api.github.com/users/rogpeppe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rogpeppe/httprequest","description":"Unmarshaling of HTTP request parameters","fork":true,"url":"https://api.github.com/repos/rogpeppe/httprequest","forks_url":"https://api.github.com/repos/rogpeppe/httprequest/forks","keys_url":"https://api.github.com/repos/rogpeppe/httprequest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rogpeppe/httprequest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rogpeppe/httprequest/teams","hooks_url":"https://api.github.com/repos/rogpeppe/httprequest/hooks","issue_events_url":"https://api.github.com/repos/rogpeppe/httprequest/issues/events{/number}","events_url":"https://api.github.com/repos/rogpeppe/httprequest/events","assignees_url":"https://api.github.com/repos/rogpeppe/httprequest/assignees{/user}","branches_url":"https://api.github.com/repos/rogpeppe/httprequest/branches{/branch}","tags_url":"https://api.github.com/repos/rogpeppe/httprequest/tags","blobs_url":"https://api.github.com/repos/rogpeppe/httprequest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rogpeppe/httprequest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rogpeppe/httprequest/git/refs{/sha}","trees_url":"https://api.github.com/repos/rogpeppe/httprequest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rogpeppe/httprequest/statuses/{sha}","languages_url":"https://api.github.com/repos/rogpeppe/httprequest/languages","stargazers_url":"https://api.github.com/repos/rogpeppe/httprequest/stargazers","contributors_url":"https://api.github.com/repos/rogpeppe/httprequest/contributors","subscribers_url":"https://api.github.com/repos/rogpeppe/httprequest/subscribers","subscription_url":"https://api.github.com/repos/rogpeppe/httprequest/subscription","commits_url":"https://api.github.com/repos/rogpeppe/httprequest/commits{/sha}","git_commits_url":"https://api.github.com/repos/rogpeppe/httprequest/git/commits{/sha}","comments_url":"https://api.github.com/repos/rogpeppe/httprequest/comments{/number}","issue_comment_url":"https://api.github.com/repos/rogpeppe/httprequest/issues/comments{/number}","contents_url":"https://api.github.com/repos/rogpeppe/httprequest/contents/{+path}","compare_url":"https://api.github.com/repos/rogpeppe/httprequest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rogpeppe/httprequest/merges","archive_url":"https://api.github.com/repos/rogpeppe/httprequest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rogpeppe/httprequest/downloads","issues_url":"https://api.github.com/repos/rogpeppe/httprequest/issues{/number}","pulls_url":"https://api.github.com/repos/rogpeppe/httprequest/pulls{/number}","milestones_url":"https://api.github.com/repos/rogpeppe/httprequest/milestones{/number}","notifications_url":"https://api.github.com/repos/rogpeppe/httprequest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rogpeppe/httprequest/labels{/name}","releases_url":"https://api.github.com/repos/rogpeppe/httprequest/releases{/id}","created_at":"2015-02-05T12:30:59Z","updated_at":"2015-02-05T12:23:01Z","pushed_at":"2015-07-24T10:13:51Z","git_url":"git://github.com/rogpeppe/httprequest.git","ssh_url":"git@github.com:rogpeppe/httprequest.git","clone_url":"https://github.com/rogpeppe/httprequest.git","svn_url":"https://github.com/rogpeppe/httprequest","homepage":null,"size":313,"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":"juju:master","ref":"master","sha":"2b7e73d7f39b21f9cd64a06f1ddf78c7b4cceb48","user":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"repo":{"id":30354147,"name":"httprequest","full_name":"juju/httprequest","owner":{"login":"juju","id":4604548,"avatar_url":"https://avatars.githubusercontent.com/u/4604548?v=3","gravatar_id":"","url":"https://api.github.com/users/juju","html_url":"https://github.com/juju","followers_url":"https://api.github.com/users/juju/followers","following_url":"https://api.github.com/users/juju/following{/other_user}","gists_url":"https://api.github.com/users/juju/gists{/gist_id}","starred_url":"https://api.github.com/users/juju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juju/subscriptions","organizations_url":"https://api.github.com/users/juju/orgs","repos_url":"https://api.github.com/users/juju/repos","events_url":"https://api.github.com/users/juju/events{/privacy}","received_events_url":"https://api.github.com/users/juju/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/juju/httprequest","description":"Unmarshaling of HTTP request parameters","fork":false,"url":"https://api.github.com/repos/juju/httprequest","forks_url":"https://api.github.com/repos/juju/httprequest/forks","keys_url":"https://api.github.com/repos/juju/httprequest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juju/httprequest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juju/httprequest/teams","hooks_url":"https://api.github.com/repos/juju/httprequest/hooks","issue_events_url":"https://api.github.com/repos/juju/httprequest/issues/events{/number}","events_url":"https://api.github.com/repos/juju/httprequest/events","assignees_url":"https://api.github.com/repos/juju/httprequest/assignees{/user}","branches_url":"https://api.github.com/repos/juju/httprequest/branches{/branch}","tags_url":"https://api.github.com/repos/juju/httprequest/tags","blobs_url":"https://api.github.com/repos/juju/httprequest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juju/httprequest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juju/httprequest/git/refs{/sha}","trees_url":"https://api.github.com/repos/juju/httprequest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juju/httprequest/statuses/{sha}","languages_url":"https://api.github.com/repos/juju/httprequest/languages","stargazers_url":"https://api.github.com/repos/juju/httprequest/stargazers","contributors_url":"https://api.github.com/repos/juju/httprequest/contributors","subscribers_url":"https://api.github.com/repos/juju/httprequest/subscribers","subscription_url":"https://api.github.com/repos/juju/httprequest/subscription","commits_url":"https://api.github.com/repos/juju/httprequest/commits{/sha}","git_commits_url":"https://api.github.com/repos/juju/httprequest/git/commits{/sha}","comments_url":"https://api.github.com/repos/juju/httprequest/comments{/number}","issue_comment_url":"https://api.github.com/repos/juju/httprequest/issues/comments{/number}","contents_url":"https://api.github.com/repos/juju/httprequest/contents/{+path}","compare_url":"https://api.github.com/repos/juju/httprequest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juju/httprequest/merges","archive_url":"https://api.github.com/repos/juju/httprequest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juju/httprequest/downloads","issues_url":"https://api.github.com/repos/juju/httprequest/issues{/number}","pulls_url":"https://api.github.com/repos/juju/httprequest/pulls{/number}","milestones_url":"https://api.github.com/repos/juju/httprequest/milestones{/number}","notifications_url":"https://api.github.com/repos/juju/httprequest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juju/httprequest/labels{/name}","releases_url":"https://api.github.com/repos/juju/httprequest/releases{/id}","created_at":"2015-02-05T12:23:01Z","updated_at":"2015-07-08T23:58:46Z","pushed_at":"2015-07-24T10:21:09Z","git_url":"git://github.com/juju/httprequest.git","ssh_url":"git@github.com:juju/httprequest.git","clone_url":"https://github.com/juju/httprequest.git","svn_url":"https://github.com/juju/httprequest","homepage":null,"size":321,"stargazers_count":27,"watchers_count":27,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juju/httprequest/pulls/21"},"html":{"href":"https://github.com/juju/httprequest/pull/21"},"issue":{"href":"https://api.github.com/repos/juju/httprequest/issues/21"},"comments":{"href":"https://api.github.com/repos/juju/httprequest/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/juju/httprequest/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/juju/httprequest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juju/httprequest/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/juju/httprequest/statuses/da43f3fd012e3119540bebe7881f2b70835d737d"}}}}