{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/218936611","pull_request_review_id":156986311,"id":218936611,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODkzNjYxMQ==","diff_hunk":"@@ -155,3 +155,247 @@ def f(x):\n             \"Normal: %(a)s. Modified: %(xx_a)s\" % d,\n             'Normal: a. Modified: *a'\n         )\n+\n+\n+class ImmutableCaseInsensitiveDictTests(SimpleTestCase):\n+    def setUp(self):\n+        self.dict_1 = ImmutableCaseInsensitiveDict({\n+            'Accept': 'application/json',\n+            'content-type': 'text/html'\n+        })\n+\n+    def test_create_dict_with_invalid_values(self):\n+        with self.assertRaises(ValueError):\n+            ImmutableCaseInsensitiveDict([('Key1', 'Val1'), 'Key2'])\n+\n+    def test_list(self):\n+        self.assertEqual(\n+            sorted(list(self.dict_1)),\n+            sorted(['Accept', 'content-type']))","path":"tests/utils_tests/test_datastructures.py","position":31,"original_position":31,"commit_id":"43ba8e0e1930674e66fd0cff1acf9c3b633e2b1b","original_commit_id":"43ba8e0e1930674e66fd0cff1acf9c3b633e2b1b","user":{"login":"timgraham","id":411869,"node_id":"MDQ6VXNlcjQxMTg2OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/411869?v=4","gravatar_id":"","url":"https://api.github.com/users/timgraham","html_url":"https://github.com/timgraham","followers_url":"https://api.github.com/users/timgraham/followers","following_url":"https://api.github.com/users/timgraham/following{/other_user}","gists_url":"https://api.github.com/users/timgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/timgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgraham/subscriptions","organizations_url":"https://api.github.com/users/timgraham/orgs","repos_url":"https://api.github.com/users/timgraham/repos","events_url":"https://api.github.com/users/timgraham/events{/privacy}","received_events_url":"https://api.github.com/users/timgraham/received_events","type":"User","site_admin":false},"body":"trailing ) goes on the next line (check your entire patch for this style)","created_at":"2018-09-19T19:36:31Z","updated_at":"2018-09-19T19:38:19Z","html_url":"https://github.com/django/django/pull/10171#discussion_r218936611","pull_request_url":"https://api.github.com/repos/django/django/pulls/10171","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/218936611"},"html":{"href":"https://github.com/django/django/pull/10171#discussion_r218936611"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/10171"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/10171","id":200521121,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNTIxMTIx","html_url":"https://github.com/django/django/pull/10171","diff_url":"https://github.com/django/django/pull/10171.diff","patch_url":"https://github.com/django/django/pull/10171.patch","issue_url":"https://api.github.com/repos/django/django/issues/10171","number":10171,"state":"open","locked":false,"title":"Fixes #20147 -- Added Request.headers","user":{"login":"santiagobasulto","id":872296,"node_id":"MDQ6VXNlcjg3MjI5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/872296?v=4","gravatar_id":"","url":"https://api.github.com/users/santiagobasulto","html_url":"https://github.com/santiagobasulto","followers_url":"https://api.github.com/users/santiagobasulto/followers","following_url":"https://api.github.com/users/santiagobasulto/following{/other_user}","gists_url":"https://api.github.com/users/santiagobasulto/gists{/gist_id}","starred_url":"https://api.github.com/users/santiagobasulto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiagobasulto/subscriptions","organizations_url":"https://api.github.com/users/santiagobasulto/orgs","repos_url":"https://api.github.com/users/santiagobasulto/repos","events_url":"https://api.github.com/users/santiagobasulto/events{/privacy}","received_events_url":"https://api.github.com/users/santiagobasulto/received_events","type":"User","site_admin":false},"body":"Original PR (with discussion included): https://github.com/django/django/pull/9925\r\n\r\nI've rebased from master and squashed all the commits into one.","created_at":"2018-07-10T20:56:43Z","updated_at":"2018-09-19T19:38:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"569b6d0d7cd89eb43d89c63a9b3b231c36f3dfbc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/10171/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/10171/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/10171/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/43ba8e0e1930674e66fd0cff1acf9c3b633e2b1b","head":{"label":"santiagobasulto:ticket_20147","ref":"ticket_20147","sha":"43ba8e0e1930674e66fd0cff1acf9c3b633e2b1b","user":{"login":"santiagobasulto","id":872296,"node_id":"MDQ6VXNlcjg3MjI5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/872296?v=4","gravatar_id":"","url":"https://api.github.com/users/santiagobasulto","html_url":"https://github.com/santiagobasulto","followers_url":"https://api.github.com/users/santiagobasulto/followers","following_url":"https://api.github.com/users/santiagobasulto/following{/other_user}","gists_url":"https://api.github.com/users/santiagobasulto/gists{/gist_id}","starred_url":"https://api.github.com/users/santiagobasulto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiagobasulto/subscriptions","organizations_url":"https://api.github.com/users/santiagobasulto/orgs","repos_url":"https://api.github.com/users/santiagobasulto/repos","events_url":"https://api.github.com/users/santiagobasulto/events{/privacy}","received_events_url":"https://api.github.com/users/santiagobasulto/received_events","type":"User","site_admin":false},"repo":{"id":132249020,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyNDkwMjA=","name":"django","full_name":"santiagobasulto/django","private":false,"owner":{"login":"santiagobasulto","id":872296,"node_id":"MDQ6VXNlcjg3MjI5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/872296?v=4","gravatar_id":"","url":"https://api.github.com/users/santiagobasulto","html_url":"https://github.com/santiagobasulto","followers_url":"https://api.github.com/users/santiagobasulto/followers","following_url":"https://api.github.com/users/santiagobasulto/following{/other_user}","gists_url":"https://api.github.com/users/santiagobasulto/gists{/gist_id}","starred_url":"https://api.github.com/users/santiagobasulto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santiagobasulto/subscriptions","organizations_url":"https://api.github.com/users/santiagobasulto/orgs","repos_url":"https://api.github.com/users/santiagobasulto/repos","events_url":"https://api.github.com/users/santiagobasulto/events{/privacy}","received_events_url":"https://api.github.com/users/santiagobasulto/received_events","type":"User","site_admin":false},"html_url":"https://github.com/santiagobasulto/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/santiagobasulto/django","forks_url":"https://api.github.com/repos/santiagobasulto/django/forks","keys_url":"https://api.github.com/repos/santiagobasulto/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/santiagobasulto/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/santiagobasulto/django/teams","hooks_url":"https://api.github.com/repos/santiagobasulto/django/hooks","issue_events_url":"https://api.github.com/repos/santiagobasulto/django/issues/events{/number}","events_url":"https://api.github.com/repos/santiagobasulto/django/events","assignees_url":"https://api.github.com/repos/santiagobasulto/django/assignees{/user}","branches_url":"https://api.github.com/repos/santiagobasulto/django/branches{/branch}","tags_url":"https://api.github.com/repos/santiagobasulto/django/tags","blobs_url":"https://api.github.com/repos/santiagobasulto/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/santiagobasulto/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/santiagobasulto/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/santiagobasulto/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/santiagobasulto/django/statuses/{sha}","languages_url":"https://api.github.com/repos/santiagobasulto/django/languages","stargazers_url":"https://api.github.com/repos/santiagobasulto/django/stargazers","contributors_url":"https://api.github.com/repos/santiagobasulto/django/contributors","subscribers_url":"https://api.github.com/repos/santiagobasulto/django/subscribers","subscription_url":"https://api.github.com/repos/santiagobasulto/django/subscription","commits_url":"https://api.github.com/repos/santiagobasulto/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/santiagobasulto/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/santiagobasulto/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/santiagobasulto/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/santiagobasulto/django/contents/{+path}","compare_url":"https://api.github.com/repos/santiagobasulto/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/santiagobasulto/django/merges","archive_url":"https://api.github.com/repos/santiagobasulto/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/santiagobasulto/django/downloads","issues_url":"https://api.github.com/repos/santiagobasulto/django/issues{/number}","pulls_url":"https://api.github.com/repos/santiagobasulto/django/pulls{/number}","milestones_url":"https://api.github.com/repos/santiagobasulto/django/milestones{/number}","notifications_url":"https://api.github.com/repos/santiagobasulto/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/santiagobasulto/django/labels{/name}","releases_url":"https://api.github.com/repos/santiagobasulto/django/releases{/id}","deployments_url":"https://api.github.com/repos/santiagobasulto/django/deployments","created_at":"2018-05-05T13:09:44Z","updated_at":"2018-07-13T11:53:22Z","pushed_at":"2018-07-13T11:53:19Z","git_url":"git://github.com/santiagobasulto/django.git","ssh_url":"git@github.com:santiagobasulto/django.git","clone_url":"https://github.com/santiagobasulto/django.git","svn_url":"https://github.com/santiagobasulto/django","homepage":"https://www.djangoproject.com/","size":178153,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"a07a49ee3295061f384d98d520a565658dd064b8","user":{"login":"django","id":27804,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODA0","avatar_url":"https://avatars2.githubusercontent.com/u/27804?v=4","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"node_id":"MDEwOlJlcG9zaXRvcnk0MTY0NDgy","name":"django","full_name":"django/django","private":false,"owner":{"login":"django","id":27804,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3ODA0","avatar_url":"https://avatars2.githubusercontent.com/u/27804?v=4","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","deployments_url":"https://api.github.com/repos/django/django/deployments","created_at":"2012-04-28T02:47:18Z","updated_at":"2018-09-19T19:17:21Z","pushed_at":"2018-09-19T19:31:57Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":182343,"stargazers_count":36493,"watchers_count":36493,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15649,"mirror_url":null,"archived":false,"open_issues_count":158,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":15649,"open_issues":158,"watchers":36493,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/10171"},"html":{"href":"https://github.com/django/django/pull/10171"},"issue":{"href":"https://api.github.com/repos/django/django/issues/10171"},"comments":{"href":"https://api.github.com/repos/django/django/issues/10171/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/10171/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/10171/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/43ba8e0e1930674e66fd0cff1acf9c3b633e2b1b"}},"author_association":"NONE"}}
{"actor":{"display_login":"timgraham"}}