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

Add support for returning Buffer and streams from action #285

Conversation

MichalLytek
Copy link
Contributor

@MichalLytek MichalLytek commented Sep 8, 2017

Reimplementing PR #182.
Fixes #228, fixes #180 and fixes #183.

@MichalLytek MichalLytek added type: fix Issues describing a broken feature. enhancement labels Sep 8, 2017
@MichalLytek MichalLytek self-assigned this Sep 8, 2017
Copy link
Member

@NoNameProvided NoNameProvided left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fabiob
Copy link
Contributor

fabiob commented Sep 10, 2017

@19majkel94, I'm bringing the discussion from #228 (comment) to here.

Here's how I test binary downloads on my app:

https://gist.github.com/fabiob/70b6d7d3022dc6fa36b01ce1d60a5de4

@MichalLytek
Copy link
Contributor Author

MichalLytek commented Sep 10, 2017

I've tested it manually by creating sample server and sending file buffer as a response. PDF and mp3 works great in browser, so looks like there's no need to change.

@acuntex
Copy link

acuntex commented Sep 11, 2017

Works great, thank you @19majkel94

@MichalLytek MichalLytek removed the request for review from pleerock September 16, 2017 09:33
@MichalLytek MichalLytek merged commit b6ff09d into typestack:master Sep 16, 2017
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: fix Issues describing a broken feature.
4 participants