{"action":"created","issue":{"url":"https://api.github.com/repos/square/SocketRocket/issues/136","labels_url":"https://api.github.com/repos/square/SocketRocket/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/square/SocketRocket/issues/136/comments","events_url":"https://api.github.com/repos/square/SocketRocket/issues/136/events","html_url":"https://github.com/square/SocketRocket/pull/136","id":24818340,"number":136,"title":"Origin syntax fix","user":{"login":"jakajancar","id":187741,"avatar_url":"https://avatars.githubusercontent.com/u/187741?v=3","gravatar_id":"","url":"https://api.github.com/users/jakajancar","html_url":"https://github.com/jakajancar","followers_url":"https://api.github.com/users/jakajancar/followers","following_url":"https://api.github.com/users/jakajancar/following{/other_user}","gists_url":"https://api.github.com/users/jakajancar/gists{/gist_id}","starred_url":"https://api.github.com/users/jakajancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakajancar/subscriptions","organizations_url":"https://api.github.com/users/jakajancar/orgs","repos_url":"https://api.github.com/users/jakajancar/repos","events_url":"https://api.github.com/users/jakajancar/events{/privacy}","received_events_url":"https://api.github.com/users/jakajancar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-12-27T12:37:55Z","updated_at":"2015-10-03T00:42:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/square/SocketRocket/pulls/136","html_url":"https://github.com/square/SocketRocket/pull/136","diff_url":"https://github.com/square/SocketRocket/pull/136.diff","patch_url":"https://github.com/square/SocketRocket/pull/136.patch"},"body":"I don't know why SocketRocket is even setting the Origin header, but if it does, it should at least use the correct [syntax](http://tools.ietf.org/html/rfc6454#page-12), so servers don't throw errors when parsing it.\r\n\r\nThis pull request:\r\n\r\n  - omits the trailing slash\r\n  - omits port iff it's the default for the scheme."},"comment":{"url":"https://api.github.com/repos/square/SocketRocket/issues/comments/145189396","html_url":"https://github.com/square/SocketRocket/pull/136#issuecomment-145189396","issue_url":"https://api.github.com/repos/square/SocketRocket/issues/136","id":145189396,"user":{"login":"dfed","id":139364,"avatar_url":"https://avatars.githubusercontent.com/u/139364?v=3","gravatar_id":"","url":"https://api.github.com/users/dfed","html_url":"https://github.com/dfed","followers_url":"https://api.github.com/users/dfed/followers","following_url":"https://api.github.com/users/dfed/following{/other_user}","gists_url":"https://api.github.com/users/dfed/gists{/gist_id}","starred_url":"https://api.github.com/users/dfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfed/subscriptions","organizations_url":"https://api.github.com/users/dfed/orgs","repos_url":"https://api.github.com/users/dfed/repos","events_url":"https://api.github.com/users/dfed/events{/privacy}","received_events_url":"https://api.github.com/users/dfed/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T00:42:46Z","updated_at":"2015-10-03T00:42:46Z","body":"@jakajancar would love to merge this. Can you sign our CLA above?"}}