Skip to content

Allow to process multipart uploads as streams to reduce memory usage #4409

@phal0r

Description

@phal0r

Is your feature request related to a problem? Please describe.

Currently multipart integration uses request.formData() to parse the request body, but the implementation does not allow to consume file uploads as streams

Describe the solution you'd like

It should be possible to consume files as streams and pipe them directly for processing, so files are not loaded fully into memory. Especially for big files, this is a problem.

It could be a config option to not alter current behaviour.

Describe alternatives you've considered

Trying to create my own content parser, which is not easy.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions