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

Partial reception of big request bodies #177

Open
stephenaa opened this issue Feb 2, 2023 · 1 comment
Open

Partial reception of big request bodies #177

stephenaa opened this issue Feb 2, 2023 · 1 comment

Comments

@stephenaa
Copy link

Is there a quick way to provide a handler to be called on reception of smaller parts of a request body? Like a handler/lambda to be called for each 100Kb or so.

This handler could then save each part received to disk, and thus avoid to have a handler that is called with the received request in its entirety.

The use case is to use restinio to also serve an endpoint that can be provided a large file for purposes like software upgrade.

@eao197
Copy link
Member

eao197 commented Feb 2, 2023

Hi!

Sorry, but no. The current version of RESTinio doesn't support processing of partially loaded incoming requests. Such a functionality is in plans for the next version of RESTinio, but the development of the project is on hold now. We're fixing issues, answer questions, provide some help... But have to resources to add new functionality to RESTinio at the moment.

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

No branches or pull requests

2 participants