Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci skip] documentation : response->download() require getBody() to be called after send() to force download #3312

Closed

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Jul 15, 2020

Tried in controller, without getBody() call after send, it will only shows the file content, not force download.

Checklist:

  • Securely signed commits
  • User guide updated

Without getBody() call after send():

Screen Shot 2020-07-15 at 5 29 11 PM

With getBody() call after send():

Screen Shot 2020-07-15 at 5 26 36 PM

@samsonasik
Copy link
Member Author

I create alternative PR for it at #3313 which update the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant