{"action":"opened","number":504,"pull_request":{"url":"https://api.github.com/repos/websockets/ws/pulls/504","id":35777934,"html_url":"https://github.com/websockets/ws/pull/504","diff_url":"https://github.com/websockets/ws/pull/504.diff","patch_url":"https://github.com/websockets/ws/pull/504.patch","issue_url":"https://api.github.com/repos/websockets/ws/issues/504","number":504,"state":"open","locked":false,"title":"fix Host header port inequality check","user":{"login":"davidburhans","id":1641167,"avatar_url":"https://avatars.githubusercontent.com/u/1641167?v=3","gravatar_id":"","url":"https://api.github.com/users/davidburhans","html_url":"https://github.com/davidburhans","followers_url":"https://api.github.com/users/davidburhans/followers","following_url":"https://api.github.com/users/davidburhans/following{/other_user}","gists_url":"https://api.github.com/users/davidburhans/gists{/gist_id}","starred_url":"https://api.github.com/users/davidburhans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidburhans/subscriptions","organizations_url":"https://api.github.com/users/davidburhans/orgs","repos_url":"https://api.github.com/users/davidburhans/repos","events_url":"https://api.github.com/users/davidburhans/events{/privacy}","received_events_url":"https://api.github.com/users/davidburhans/received_events","type":"User","site_admin":false},"body":"url.parse returns an object with the port as a string. This allows interoperablity with servers with a more strict interpretation of https://tools.ietf.org/html/rfc6455#page-17\r\n\r\nThe way the RFC is worded could be interpreted to mean the port on the Host header is optional except if it is a default port, in which case it should not be included.\r\n\r\nThis will change will leave the port off of the Host header if it is a default port, even if it was explicitly specified.","created_at":"2015-05-19T21:40:24Z","updated_at":"2015-05-19T21:40:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/websockets/ws/pulls/504/commits","review_comments_url":"https://api.github.com/repos/websockets/ws/pulls/504/comments","review_comment_url":"https://api.github.com/repos/websockets/ws/pulls/comments{/number}","comments_url":"https://api.github.com/repos/websockets/ws/issues/504/comments","statuses_url":"https://api.github.com/repos/websockets/ws/statuses/8ec2511a414a0ade66912bb1da460cd1a511360b","head":{"label":"davidburhans:master","ref":"master","sha":"8ec2511a414a0ade66912bb1da460cd1a511360b","user":{"login":"davidburhans","id":1641167,"avatar_url":"https://avatars.githubusercontent.com/u/1641167?v=3","gravatar_id":"","url":"https://api.github.com/users/davidburhans","html_url":"https://github.com/davidburhans","followers_url":"https://api.github.com/users/davidburhans/followers","following_url":"https://api.github.com/users/davidburhans/following{/other_user}","gists_url":"https://api.github.com/users/davidburhans/gists{/gist_id}","starred_url":"https://api.github.com/users/davidburhans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidburhans/subscriptions","organizations_url":"https://api.github.com/users/davidburhans/orgs","repos_url":"https://api.github.com/users/davidburhans/repos","events_url":"https://api.github.com/users/davidburhans/events{/privacy}","received_events_url":"https://api.github.com/users/davidburhans/received_events","type":"User","site_admin":false},"repo":{"id":35909704,"name":"ws","full_name":"davidburhans/ws","owner":{"login":"davidburhans","id":1641167,"avatar_url":"https://avatars.githubusercontent.com/u/1641167?v=3","gravatar_id":"","url":"https://api.github.com/users/davidburhans","html_url":"https://github.com/davidburhans","followers_url":"https://api.github.com/users/davidburhans/followers","following_url":"https://api.github.com/users/davidburhans/following{/other_user}","gists_url":"https://api.github.com/users/davidburhans/gists{/gist_id}","starred_url":"https://api.github.com/users/davidburhans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidburhans/subscriptions","organizations_url":"https://api.github.com/users/davidburhans/orgs","repos_url":"https://api.github.com/users/davidburhans/repos","events_url":"https://api.github.com/users/davidburhans/events{/privacy}","received_events_url":"https://api.github.com/users/davidburhans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidburhans/ws","description":"`ws`: The fastest RFC-6455 WebSocket implementation for Node.js.","fork":true,"url":"https://api.github.com/repos/davidburhans/ws","forks_url":"https://api.github.com/repos/davidburhans/ws/forks","keys_url":"https://api.github.com/repos/davidburhans/ws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidburhans/ws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidburhans/ws/teams","hooks_url":"https://api.github.com/repos/davidburhans/ws/hooks","issue_events_url":"https://api.github.com/repos/davidburhans/ws/issues/events{/number}","events_url":"https://api.github.com/repos/davidburhans/ws/events","assignees_url":"https://api.github.com/repos/davidburhans/ws/assignees{/user}","branches_url":"https://api.github.com/repos/davidburhans/ws/branches{/branch}","tags_url":"https://api.github.com/repos/davidburhans/ws/tags","blobs_url":"https://api.github.com/repos/davidburhans/ws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidburhans/ws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidburhans/ws/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidburhans/ws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidburhans/ws/statuses/{sha}","languages_url":"https://api.github.com/repos/davidburhans/ws/languages","stargazers_url":"https://api.github.com/repos/davidburhans/ws/stargazers","contributors_url":"https://api.github.com/repos/davidburhans/ws/contributors","subscribers_url":"https://api.github.com/repos/davidburhans/ws/subscribers","subscription_url":"https://api.github.com/repos/davidburhans/ws/subscription","commits_url":"https://api.github.com/repos/davidburhans/ws/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidburhans/ws/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidburhans/ws/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidburhans/ws/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidburhans/ws/contents/{+path}","compare_url":"https://api.github.com/repos/davidburhans/ws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidburhans/ws/merges","archive_url":"https://api.github.com/repos/davidburhans/ws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidburhans/ws/downloads","issues_url":"https://api.github.com/repos/davidburhans/ws/issues{/number}","pulls_url":"https://api.github.com/repos/davidburhans/ws/pulls{/number}","milestones_url":"https://api.github.com/repos/davidburhans/ws/milestones{/number}","notifications_url":"https://api.github.com/repos/davidburhans/ws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidburhans/ws/labels{/name}","releases_url":"https://api.github.com/repos/davidburhans/ws/releases{/id}","created_at":"2015-05-19T21:32:52Z","updated_at":"2015-05-19T21:32:53Z","pushed_at":"2015-05-19T21:33:54Z","git_url":"git://github.com/davidburhans/ws.git","ssh_url":"git@github.com:davidburhans/ws.git","clone_url":"https://github.com/davidburhans/ws.git","svn_url":"https://github.com/davidburhans/ws","homepage":"http://einaros.github.com/ws","size":4202,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"websockets:master","ref":"master","sha":"9fa6d4d1e6280900e6e024648fadb534baa253d9","user":{"login":"websockets","id":10721323,"avatar_url":"https://avatars.githubusercontent.com/u/10721323?v=3","gravatar_id":"","url":"https://api.github.com/users/websockets","html_url":"https://github.com/websockets","followers_url":"https://api.github.com/users/websockets/followers","following_url":"https://api.github.com/users/websockets/following{/other_user}","gists_url":"https://api.github.com/users/websockets/gists{/gist_id}","starred_url":"https://api.github.com/users/websockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websockets/subscriptions","organizations_url":"https://api.github.com/users/websockets/orgs","repos_url":"https://api.github.com/users/websockets/repos","events_url":"https://api.github.com/users/websockets/events{/privacy}","received_events_url":"https://api.github.com/users/websockets/received_events","type":"Organization","site_admin":false},"repo":{"id":2744972,"name":"ws","full_name":"websockets/ws","owner":{"login":"websockets","id":10721323,"avatar_url":"https://avatars.githubusercontent.com/u/10721323?v=3","gravatar_id":"","url":"https://api.github.com/users/websockets","html_url":"https://github.com/websockets","followers_url":"https://api.github.com/users/websockets/followers","following_url":"https://api.github.com/users/websockets/following{/other_user}","gists_url":"https://api.github.com/users/websockets/gists{/gist_id}","starred_url":"https://api.github.com/users/websockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/websockets/subscriptions","organizations_url":"https://api.github.com/users/websockets/orgs","repos_url":"https://api.github.com/users/websockets/repos","events_url":"https://api.github.com/users/websockets/events{/privacy}","received_events_url":"https://api.github.com/users/websockets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/websockets/ws","description":"`ws`: The fastest RFC-6455 WebSocket implementation for Node.js.","fork":false,"url":"https://api.github.com/repos/websockets/ws","forks_url":"https://api.github.com/repos/websockets/ws/forks","keys_url":"https://api.github.com/repos/websockets/ws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/websockets/ws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/websockets/ws/teams","hooks_url":"https://api.github.com/repos/websockets/ws/hooks","issue_events_url":"https://api.github.com/repos/websockets/ws/issues/events{/number}","events_url":"https://api.github.com/repos/websockets/ws/events","assignees_url":"https://api.github.com/repos/websockets/ws/assignees{/user}","branches_url":"https://api.github.com/repos/websockets/ws/branches{/branch}","tags_url":"https://api.github.com/repos/websockets/ws/tags","blobs_url":"https://api.github.com/repos/websockets/ws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/websockets/ws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/websockets/ws/git/refs{/sha}","trees_url":"https://api.github.com/repos/websockets/ws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/websockets/ws/statuses/{sha}","languages_url":"https://api.github.com/repos/websockets/ws/languages","stargazers_url":"https://api.github.com/repos/websockets/ws/stargazers","contributors_url":"https://api.github.com/repos/websockets/ws/contributors","subscribers_url":"https://api.github.com/repos/websockets/ws/subscribers","subscription_url":"https://api.github.com/repos/websockets/ws/subscription","commits_url":"https://api.github.com/repos/websockets/ws/commits{/sha}","git_commits_url":"https://api.github.com/repos/websockets/ws/git/commits{/sha}","comments_url":"https://api.github.com/repos/websockets/ws/comments{/number}","issue_comment_url":"https://api.github.com/repos/websockets/ws/issues/comments{/number}","contents_url":"https://api.github.com/repos/websockets/ws/contents/{+path}","compare_url":"https://api.github.com/repos/websockets/ws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/websockets/ws/merges","archive_url":"https://api.github.com/repos/websockets/ws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/websockets/ws/downloads","issues_url":"https://api.github.com/repos/websockets/ws/issues{/number}","pulls_url":"https://api.github.com/repos/websockets/ws/pulls{/number}","milestones_url":"https://api.github.com/repos/websockets/ws/milestones{/number}","notifications_url":"https://api.github.com/repos/websockets/ws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/websockets/ws/labels{/name}","releases_url":"https://api.github.com/repos/websockets/ws/releases{/id}","created_at":"2011-11-09T22:32:45Z","updated_at":"2015-05-19T19:03:04Z","pushed_at":"2015-05-16T16:49:19Z","git_url":"git://github.com/websockets/ws.git","ssh_url":"git@github.com:websockets/ws.git","clone_url":"https://github.com/websockets/ws.git","svn_url":"https://github.com/websockets/ws","homepage":"http://einaros.github.com/ws","size":4202,"stargazers_count":2209,"watchers_count":2209,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":374,"mirror_url":null,"open_issues_count":122,"forks":374,"open_issues":122,"watchers":2209,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/websockets/ws/pulls/504"},"html":{"href":"https://github.com/websockets/ws/pull/504"},"issue":{"href":"https://api.github.com/repos/websockets/ws/issues/504"},"comments":{"href":"https://api.github.com/repos/websockets/ws/issues/504/comments"},"review_comments":{"href":"https://api.github.com/repos/websockets/ws/pulls/504/comments"},"review_comment":{"href":"https://api.github.com/repos/websockets/ws/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/websockets/ws/pulls/504/commits"},"statuses":{"href":"https://api.github.com/repos/websockets/ws/statuses/8ec2511a414a0ade66912bb1da460cd1a511360b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}