{"action":"opened","number":2810,"pull_request":{"url":"https://api.github.com/repos/hapijs/hapi/pulls/2810","id":46687235,"html_url":"https://github.com/hapijs/hapi/pull/2810","diff_url":"https://github.com/hapijs/hapi/pull/2810.diff","patch_url":"https://github.com/hapijs/hapi/pull/2810.patch","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2810","number":2810,"state":"open","locked":false,"title":"Backport 6c5ab9f and 23760c7. Do not duplicate vary header.","user":{"login":"ldesplat","id":5972411,"avatar_url":"https://avatars.githubusercontent.com/u/5972411?v=3","gravatar_id":"","url":"https://api.github.com/users/ldesplat","html_url":"https://github.com/ldesplat","followers_url":"https://api.github.com/users/ldesplat/followers","following_url":"https://api.github.com/users/ldesplat/following{/other_user}","gists_url":"https://api.github.com/users/ldesplat/gists{/gist_id}","starred_url":"https://api.github.com/users/ldesplat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldesplat/subscriptions","organizations_url":"https://api.github.com/users/ldesplat/orgs","repos_url":"https://api.github.com/users/ldesplat/repos","events_url":"https://api.github.com/users/ldesplat/events{/privacy}","received_events_url":"https://api.github.com/users/ldesplat/received_events","type":"User","site_admin":false},"body":"This PR is to support hapijs/h2o2#17\r\n\r\nThere seems to be problems with Inert on my LTS copy. So if the tests fail with `Object [object Object] has no method 'attempt'` it's not this PR that's adding it.\r\n\r\n```\r\nObject [object Object] has no method 'attempt'\r\n\r\n      at exports.handler (/Users/ldespla/github/hapi/node_modules/inert/lib/file.js:33:24)\r\n      at Object.exports.configure (/Users/ldespla/github/hapi/lib/handler.js:124:89)\r\n      at new module.exports.internals.Route (/Users/ldespla/github/hapi/lib/route.js:232:108)\r\n      at internals.Connection._addRoute (/Users/ldespla/github/hapi/lib/connection.js:359:93)\r\n      at internals.Connection._route (/Users/ldespla/github/hapi/lib/connection.js:351:94)\r\n      at internals.Plugin._apply (/Users/ldespla/github/hapi/lib/plugin.js:497:86)\r\n      at internals.Plugin.route (/Users/ldespla/github/hapi/lib/plugin.js:470:82)\r\n      at /Users/ldespla/github/hapi/test/transmit.js:2719:20\r\n      at Object._onImmediate (/Users/ldespla/github/hapi/node_modules/lab/lib/runner.js:455:17)\r\n      at processImmediate [as _immediateCallback] (timers.js:363:15)\r\n```","created_at":"2015-10-02T22:02:54Z","updated_at":"2015-10-02T22:02:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hapijs/hapi/pulls/2810/commits","review_comments_url":"https://api.github.com/repos/hapijs/hapi/pulls/2810/comments","review_comment_url":"https://api.github.com/repos/hapijs/hapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2810/comments","statuses_url":"https://api.github.com/repos/hapijs/hapi/statuses/e543fb3230b5bdd3103efc4cbb768ac70f5d322e","head":{"label":"ldesplat:backport-dup-header","ref":"backport-dup-header","sha":"e543fb3230b5bdd3103efc4cbb768ac70f5d322e","user":{"login":"ldesplat","id":5972411,"avatar_url":"https://avatars.githubusercontent.com/u/5972411?v=3","gravatar_id":"","url":"https://api.github.com/users/ldesplat","html_url":"https://github.com/ldesplat","followers_url":"https://api.github.com/users/ldesplat/followers","following_url":"https://api.github.com/users/ldesplat/following{/other_user}","gists_url":"https://api.github.com/users/ldesplat/gists{/gist_id}","starred_url":"https://api.github.com/users/ldesplat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldesplat/subscriptions","organizations_url":"https://api.github.com/users/ldesplat/orgs","repos_url":"https://api.github.com/users/ldesplat/repos","events_url":"https://api.github.com/users/ldesplat/events{/privacy}","received_events_url":"https://api.github.com/users/ldesplat/received_events","type":"User","site_admin":false},"repo":{"id":43334885,"name":"hapi","full_name":"ldesplat/hapi","owner":{"login":"ldesplat","id":5972411,"avatar_url":"https://avatars.githubusercontent.com/u/5972411?v=3","gravatar_id":"","url":"https://api.github.com/users/ldesplat","html_url":"https://github.com/ldesplat","followers_url":"https://api.github.com/users/ldesplat/followers","following_url":"https://api.github.com/users/ldesplat/following{/other_user}","gists_url":"https://api.github.com/users/ldesplat/gists{/gist_id}","starred_url":"https://api.github.com/users/ldesplat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldesplat/subscriptions","organizations_url":"https://api.github.com/users/ldesplat/orgs","repos_url":"https://api.github.com/users/ldesplat/repos","events_url":"https://api.github.com/users/ldesplat/events{/privacy}","received_events_url":"https://api.github.com/users/ldesplat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ldesplat/hapi","description":"Server Framework  for Node.js","fork":true,"url":"https://api.github.com/repos/ldesplat/hapi","forks_url":"https://api.github.com/repos/ldesplat/hapi/forks","keys_url":"https://api.github.com/repos/ldesplat/hapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldesplat/hapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldesplat/hapi/teams","hooks_url":"https://api.github.com/repos/ldesplat/hapi/hooks","issue_events_url":"https://api.github.com/repos/ldesplat/hapi/issues/events{/number}","events_url":"https://api.github.com/repos/ldesplat/hapi/events","assignees_url":"https://api.github.com/repos/ldesplat/hapi/assignees{/user}","branches_url":"https://api.github.com/repos/ldesplat/hapi/branches{/branch}","tags_url":"https://api.github.com/repos/ldesplat/hapi/tags","blobs_url":"https://api.github.com/repos/ldesplat/hapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldesplat/hapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldesplat/hapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldesplat/hapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldesplat/hapi/statuses/{sha}","languages_url":"https://api.github.com/repos/ldesplat/hapi/languages","stargazers_url":"https://api.github.com/repos/ldesplat/hapi/stargazers","contributors_url":"https://api.github.com/repos/ldesplat/hapi/contributors","subscribers_url":"https://api.github.com/repos/ldesplat/hapi/subscribers","subscription_url":"https://api.github.com/repos/ldesplat/hapi/subscription","commits_url":"https://api.github.com/repos/ldesplat/hapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldesplat/hapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldesplat/hapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldesplat/hapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldesplat/hapi/contents/{+path}","compare_url":"https://api.github.com/repos/ldesplat/hapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldesplat/hapi/merges","archive_url":"https://api.github.com/repos/ldesplat/hapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldesplat/hapi/downloads","issues_url":"https://api.github.com/repos/ldesplat/hapi/issues{/number}","pulls_url":"https://api.github.com/repos/ldesplat/hapi/pulls{/number}","milestones_url":"https://api.github.com/repos/ldesplat/hapi/milestones{/number}","notifications_url":"https://api.github.com/repos/ldesplat/hapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldesplat/hapi/labels{/name}","releases_url":"https://api.github.com/repos/ldesplat/hapi/releases{/id}","created_at":"2015-09-29T00:24:28Z","updated_at":"2015-09-29T00:24:32Z","pushed_at":"2015-10-02T22:00:05Z","git_url":"git://github.com/ldesplat/hapi.git","ssh_url":"git@github.com:ldesplat/hapi.git","clone_url":"https://github.com/ldesplat/hapi.git","svn_url":"https://github.com/ldesplat/hapi","homepage":"hapijs.com","size":11715,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"hapijs:lts","ref":"lts","sha":"c305e7141aa37e50394b14b41560e9bfb8b67f26","user":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"repo":{"id":2163263,"name":"hapi","full_name":"hapijs/hapi","owner":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars.githubusercontent.com/u/3774533?v=3","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hapijs/hapi","description":"Server Framework  for Node.js","fork":false,"url":"https://api.github.com/repos/hapijs/hapi","forks_url":"https://api.github.com/repos/hapijs/hapi/forks","keys_url":"https://api.github.com/repos/hapijs/hapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hapijs/hapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hapijs/hapi/teams","hooks_url":"https://api.github.com/repos/hapijs/hapi/hooks","issue_events_url":"https://api.github.com/repos/hapijs/hapi/issues/events{/number}","events_url":"https://api.github.com/repos/hapijs/hapi/events","assignees_url":"https://api.github.com/repos/hapijs/hapi/assignees{/user}","branches_url":"https://api.github.com/repos/hapijs/hapi/branches{/branch}","tags_url":"https://api.github.com/repos/hapijs/hapi/tags","blobs_url":"https://api.github.com/repos/hapijs/hapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hapijs/hapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hapijs/hapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/hapijs/hapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hapijs/hapi/statuses/{sha}","languages_url":"https://api.github.com/repos/hapijs/hapi/languages","stargazers_url":"https://api.github.com/repos/hapijs/hapi/stargazers","contributors_url":"https://api.github.com/repos/hapijs/hapi/contributors","subscribers_url":"https://api.github.com/repos/hapijs/hapi/subscribers","subscription_url":"https://api.github.com/repos/hapijs/hapi/subscription","commits_url":"https://api.github.com/repos/hapijs/hapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/hapijs/hapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/hapijs/hapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/hapijs/hapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/hapijs/hapi/contents/{+path}","compare_url":"https://api.github.com/repos/hapijs/hapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hapijs/hapi/merges","archive_url":"https://api.github.com/repos/hapijs/hapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hapijs/hapi/downloads","issues_url":"https://api.github.com/repos/hapijs/hapi/issues{/number}","pulls_url":"https://api.github.com/repos/hapijs/hapi/pulls{/number}","milestones_url":"https://api.github.com/repos/hapijs/hapi/milestones{/number}","notifications_url":"https://api.github.com/repos/hapijs/hapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hapijs/hapi/labels{/name}","releases_url":"https://api.github.com/repos/hapijs/hapi/releases{/id}","created_at":"2011-08-06T00:35:39Z","updated_at":"2015-10-02T18:32:23Z","pushed_at":"2015-10-02T21:11:57Z","git_url":"git://github.com/hapijs/hapi.git","ssh_url":"git@github.com:hapijs/hapi.git","clone_url":"https://github.com/hapijs/hapi.git","svn_url":"https://github.com/hapijs/hapi","homepage":"hapijs.com","size":21106,"stargazers_count":4796,"watchers_count":4796,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":536,"mirror_url":null,"open_issues_count":14,"forks":536,"open_issues":14,"watchers":4796,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hapijs/hapi/pulls/2810"},"html":{"href":"https://github.com/hapijs/hapi/pull/2810"},"issue":{"href":"https://api.github.com/repos/hapijs/hapi/issues/2810"},"comments":{"href":"https://api.github.com/repos/hapijs/hapi/issues/2810/comments"},"review_comments":{"href":"https://api.github.com/repos/hapijs/hapi/pulls/2810/comments"},"review_comment":{"href":"https://api.github.com/repos/hapijs/hapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hapijs/hapi/pulls/2810/commits"},"statuses":{"href":"https://api.github.com/repos/hapijs/hapi/statuses/e543fb3230b5bdd3103efc4cbb768ac70f5d322e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":80,"deletions":7,"changed_files":4}}