{"action":"closed","issue":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/726","repository_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel","labels_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/726/labels{/name}","comments_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/726/comments","events_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/726/events","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/726","id":141070676,"number":726,"title":"[PROPOSAL] Return a response object instead of output from download()","user":{"login":"rohithmeethal","id":12010328,"avatar_url":"https://avatars.githubusercontent.com/u/12010328?v=3","gravatar_id":"","url":"https://api.github.com/users/rohithmeethal","html_url":"https://github.com/rohithmeethal","followers_url":"https://api.github.com/users/rohithmeethal/followers","following_url":"https://api.github.com/users/rohithmeethal/following{/other_user}","gists_url":"https://api.github.com/users/rohithmeethal/gists{/gist_id}","starred_url":"https://api.github.com/users/rohithmeethal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohithmeethal/subscriptions","organizations_url":"https://api.github.com/users/rohithmeethal/orgs","repos_url":"https://api.github.com/users/rohithmeethal/repos","events_url":"https://api.github.com/users/rohithmeethal/events{/privacy}","received_events_url":"https://api.github.com/users/rohithmeethal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T19:09:08Z","updated_at":"2016-03-15T19:52:57Z","closed_at":"2016-03-15T19:52:57Z","body":"Please prefix your issue with one of the following: [BUG] [PROPOSAL] [QUESTION].\r\n\r\n### Package version 2.1, Laravel version 5.1\r\n\r\n### Expected behaviour\r\nReturn a response object instead of starting download directly\r\n\r\n### Actual behaviour\r\nStarts download directly when we call download() function\r\n\r\nIf we have response object we could modify it as per requirements, like add headers or save file before download begins or do some other stuffs before actual response is sent out.\r\n"}}