{"action":"created","issue":{"url":"https://api.github.com/repos/IBM-Swift/Kitura/issues/533","repository_url":"https://api.github.com/repos/IBM-Swift/Kitura","labels_url":"https://api.github.com/repos/IBM-Swift/Kitura/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/IBM-Swift/Kitura/issues/533/comments","events_url":"https://api.github.com/repos/IBM-Swift/Kitura/issues/533/events","html_url":"https://github.com/IBM-Swift/Kitura/pull/533","id":160215255,"number":533,"title":"Add jsonp on develop","user":{"login":"tunniclm","id":5011883,"avatar_url":"https://avatars.githubusercontent.com/u/5011883?v=3","gravatar_id":"","url":"https://api.github.com/users/tunniclm","html_url":"https://github.com/tunniclm","followers_url":"https://api.github.com/users/tunniclm/followers","following_url":"https://api.github.com/users/tunniclm/following{/other_user}","gists_url":"https://api.github.com/users/tunniclm/gists{/gist_id}","starred_url":"https://api.github.com/users/tunniclm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunniclm/subscriptions","organizations_url":"https://api.github.com/users/tunniclm/orgs","repos_url":"https://api.github.com/users/tunniclm/repos","events_url":"https://api.github.com/users/tunniclm/events{/privacy}","received_events_url":"https://api.github.com/users/tunniclm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-14T15:43:30Z","updated_at":"2016-06-17T12:46:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/IBM-Swift/Kitura/pulls/533","html_url":"https://github.com/IBM-Swift/Kitura/pull/533","diff_url":"https://github.com/IBM-Swift/Kitura/pull/533.diff","patch_url":"https://github.com/IBM-Swift/Kitura/pull/533.patch"},"body":"Add jsonp support to RouterResponse send()\r\n\r\n## Description\r\nAdded a new overload to `send(jsonp:callbackParam:=\"callback\")` which writes a JSONP response.\r\nThrows a JSONPError if no valid parameter is provided by the request that matches the JSONP callback param name.\r\n\r\n## Motivation and Context\r\nIssue #310\r\n\r\n## How Has This Been Tested?\r\nThe changes include a test route and 3 test cases that check the generated response.\r\nI ran these tests on Linux using the Kitura vagrant image, with Swift snapshot 2016-05-09.\r\nThere should probably be some testing in the browser before this is landed.\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] I have submitted a [CLA form](https://github.com/IBM-Swift/CLA)\r\n- [ ] If applicable, I have updated the documentation accordingly.\r\n- [x] If applicable, I have added tests to cover my changes.\r\n"},"comment":{"url":"https://api.github.com/repos/IBM-Swift/Kitura/issues/comments/226759807","html_url":"https://github.com/IBM-Swift/Kitura/pull/533#issuecomment-226759807","issue_url":"https://api.github.com/repos/IBM-Swift/Kitura/issues/533","id":226759807,"user":{"login":"tunniclm","id":5011883,"avatar_url":"https://avatars.githubusercontent.com/u/5011883?v=3","gravatar_id":"","url":"https://api.github.com/users/tunniclm","html_url":"https://github.com/tunniclm","followers_url":"https://api.github.com/users/tunniclm/followers","following_url":"https://api.github.com/users/tunniclm/following{/other_user}","gists_url":"https://api.github.com/users/tunniclm/gists{/gist_id}","starred_url":"https://api.github.com/users/tunniclm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunniclm/subscriptions","organizations_url":"https://api.github.com/users/tunniclm/orgs","repos_url":"https://api.github.com/users/tunniclm/repos","events_url":"https://api.github.com/users/tunniclm/events{/privacy}","received_events_url":"https://api.github.com/users/tunniclm/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T12:46:55Z","updated_at":"2016-06-17T12:46:55Z","body":"Updated."}}
{"actor":{"display_login":"tunniclm"}}