{"action":"closed","number":7250,"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/7250","id":60463489,"html_url":"https://github.com/angular/angular/pull/7250","diff_url":"https://github.com/angular/angular/pull/7250.diff","patch_url":"https://github.com/angular/angular/pull/7250.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/7250","number":7250,"state":"closed","locked":false,"title":"fix(headers): browser header responses differ","user":{"login":"stakach","id":368013,"avatar_url":"https://avatars.githubusercontent.com/u/368013?v=3","gravatar_id":"","url":"https://api.github.com/users/stakach","html_url":"https://github.com/stakach","followers_url":"https://api.github.com/users/stakach/followers","following_url":"https://api.github.com/users/stakach/following{/other_user}","gists_url":"https://api.github.com/users/stakach/gists{/gist_id}","starred_url":"https://api.github.com/users/stakach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stakach/subscriptions","organizations_url":"https://api.github.com/users/stakach/orgs","repos_url":"https://api.github.com/users/stakach/repos","events_url":"https://api.github.com/users/stakach/events{/privacy}","received_events_url":"https://api.github.com/users/stakach/received_events","type":"User","site_admin":false},"body":"Firefox returns headers with case intact, Chrome returns lowercase headers. This normalises the response between browsers.\r\n\r\nBefore this pull request\r\n```typescript\r\n// This works in Firefox\r\nlet length: string = response.headers.get('Content-Length');\r\n\r\n// This works in Chrome\r\nlet length: string = response.headers.get('content-length');\r\n```","created_at":"2016-02-24T06:41:57Z","updated_at":"2016-05-24T19:45:11Z","closed_at":"2016-05-24T19:45:11Z","merged_at":null,"merge_commit_sha":"7ec2778a6ad10cf9694e1a4940c1ee21999ecb95","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/7250/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/7250/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/7250/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/2db619950e448daef7cddcd61964f3c825ac2ed5","head":{"label":"stakach:patch-1","ref":"patch-1","sha":"2db619950e448daef7cddcd61964f3c825ac2ed5","user":{"login":"stakach","id":368013,"avatar_url":"https://avatars.githubusercontent.com/u/368013?v=3","gravatar_id":"","url":"https://api.github.com/users/stakach","html_url":"https://github.com/stakach","followers_url":"https://api.github.com/users/stakach/followers","following_url":"https://api.github.com/users/stakach/following{/other_user}","gists_url":"https://api.github.com/users/stakach/gists{/gist_id}","starred_url":"https://api.github.com/users/stakach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stakach/subscriptions","organizations_url":"https://api.github.com/users/stakach/orgs","repos_url":"https://api.github.com/users/stakach/repos","events_url":"https://api.github.com/users/stakach/events{/privacy}","received_events_url":"https://api.github.com/users/stakach/received_events","type":"User","site_admin":false},"repo":{"id":52420027,"name":"angular","full_name":"stakach/angular","owner":{"login":"stakach","id":368013,"avatar_url":"https://avatars.githubusercontent.com/u/368013?v=3","gravatar_id":"","url":"https://api.github.com/users/stakach","html_url":"https://github.com/stakach","followers_url":"https://api.github.com/users/stakach/followers","following_url":"https://api.github.com/users/stakach/following{/other_user}","gists_url":"https://api.github.com/users/stakach/gists{/gist_id}","starred_url":"https://api.github.com/users/stakach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stakach/subscriptions","organizations_url":"https://api.github.com/users/stakach/orgs","repos_url":"https://api.github.com/users/stakach/repos","events_url":"https://api.github.com/users/stakach/events{/privacy}","received_events_url":"https://api.github.com/users/stakach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stakach/angular","description":"","fork":true,"url":"https://api.github.com/repos/stakach/angular","forks_url":"https://api.github.com/repos/stakach/angular/forks","keys_url":"https://api.github.com/repos/stakach/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stakach/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stakach/angular/teams","hooks_url":"https://api.github.com/repos/stakach/angular/hooks","issue_events_url":"https://api.github.com/repos/stakach/angular/issues/events{/number}","events_url":"https://api.github.com/repos/stakach/angular/events","assignees_url":"https://api.github.com/repos/stakach/angular/assignees{/user}","branches_url":"https://api.github.com/repos/stakach/angular/branches{/branch}","tags_url":"https://api.github.com/repos/stakach/angular/tags","blobs_url":"https://api.github.com/repos/stakach/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stakach/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stakach/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/stakach/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stakach/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/stakach/angular/languages","stargazers_url":"https://api.github.com/repos/stakach/angular/stargazers","contributors_url":"https://api.github.com/repos/stakach/angular/contributors","subscribers_url":"https://api.github.com/repos/stakach/angular/subscribers","subscription_url":"https://api.github.com/repos/stakach/angular/subscription","commits_url":"https://api.github.com/repos/stakach/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/stakach/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/stakach/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/stakach/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/stakach/angular/contents/{+path}","compare_url":"https://api.github.com/repos/stakach/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stakach/angular/merges","archive_url":"https://api.github.com/repos/stakach/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stakach/angular/downloads","issues_url":"https://api.github.com/repos/stakach/angular/issues{/number}","pulls_url":"https://api.github.com/repos/stakach/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/stakach/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/stakach/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stakach/angular/labels{/name}","releases_url":"https://api.github.com/repos/stakach/angular/releases{/id}","deployments_url":"https://api.github.com/repos/stakach/angular/deployments","created_at":"2016-02-24T06:32:05Z","updated_at":"2016-02-24T06:32:58Z","pushed_at":"2016-02-24T06:38:29Z","git_url":"git://github.com/stakach/angular.git","ssh_url":"git@github.com:stakach/angular.git","clone_url":"https://github.com/stakach/angular.git","svn_url":"https://github.com/stakach/angular","homepage":"https://angular.io","size":174707,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"angular:master","ref":"master","sha":"072446aed3bb511d16b1170361883b5a8bd488e5","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular/deployments","created_at":"2014-09-18T16:12:01Z","updated_at":"2016-05-24T17:15:25Z","pushed_at":"2016-05-24T19:44:52Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":604766,"stargazers_count":12184,"watchers_count":12184,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3176,"mirror_url":null,"open_issues_count":1581,"forks":3176,"open_issues":1581,"watchers":12184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/7250"},"html":{"href":"https://github.com/angular/angular/pull/7250"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/7250"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/7250/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/7250/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/7250/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/2db619950e448daef7cddcd61964f3c825ac2ed5"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"mhevery"}}