{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2434","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2434/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2434/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2434/events","html_url":"https://github.com/hapijs/hapi/issues/2434","id":59137487,"number":2434,"title":"Consider exposing _setSource or a public method to set the payload","user":{"login":"devinus","id":4836,"avatar_url":"https://avatars.githubusercontent.com/u/4836?v=3","gravatar_id":"","url":"https://api.github.com/users/devinus","html_url":"https://github.com/devinus","followers_url":"https://api.github.com/users/devinus/followers","following_url":"https://api.github.com/users/devinus/following{/other_user}","gists_url":"https://api.github.com/users/devinus/gists{/gist_id}","starred_url":"https://api.github.com/users/devinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devinus/subscriptions","organizations_url":"https://api.github.com/users/devinus/orgs","repos_url":"https://api.github.com/users/devinus/repos","events_url":"https://api.github.com/users/devinus/events{/privacy}","received_events_url":"https://api.github.com/users/devinus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-26T20:24:58Z","updated_at":"2015-02-28T10:39:30Z","closed_at":null,"body":"I'd like to set the payload of a response **after** it's been created. Is there currently any way to do this using a public interface?\r\n\r\nE.g.,\r\n\r\n```javascript\r\nfunction(request, reply) {\r\n  var response = reply().hold();\r\n\r\n  async.waterfall([\r\n    // ...\r\n  ], function(err, result) {\r\n    if (err) {\r\n      response._setSource(Boom.wrap(err));\r\n    } else {\r\n      response._setSource('success');\r\n    }\r\n    response.send();\r\n  });\r\n\r\n  return response;\r\n}"},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/76520873","html_url":"https://github.com/hapijs/hapi/issues/2434#issuecomment-76520873","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2434","id":76520873,"user":{"login":"AdriVanHoudt","id":2361826,"avatar_url":"https://avatars.githubusercontent.com/u/2361826?v=3","gravatar_id":"","url":"https://api.github.com/users/AdriVanHoudt","html_url":"https://github.com/AdriVanHoudt","followers_url":"https://api.github.com/users/AdriVanHoudt/followers","following_url":"https://api.github.com/users/AdriVanHoudt/following{/other_user}","gists_url":"https://api.github.com/users/AdriVanHoudt/gists{/gist_id}","starred_url":"https://api.github.com/users/AdriVanHoudt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdriVanHoudt/subscriptions","organizations_url":"https://api.github.com/users/AdriVanHoudt/orgs","repos_url":"https://api.github.com/users/AdriVanHoudt/repos","events_url":"https://api.github.com/users/AdriVanHoudt/events{/privacy}","received_events_url":"https://api.github.com/users/AdriVanHoudt/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T10:39:30Z","updated_at":"2015-02-28T10:39:30Z","body":"@devinus is there a specific use case you want to use this is in?"}}