-
-
Notifications
You must be signed in to change notification settings - Fork 19
How can I keep a multipart form upload in memory (skip the file)? #46
Copy link
Copy link
Open
Labels
Pkg: koa-better-bodyPriority: HighAfter critical issues are fixed, these should be dealt with before any further issues.After critical issues are fixed, these should be dealt with before any further issues.Status: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.It's clear what the subject of the issue is about, and what the resolution should be.Status: AvailableNo one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.No one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.Status: BlockedAnother issue needs to be resolved first or an external blocker.Another issue needs to be resolved first or an external blocker.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.Most issues will probably be for additions or changes. Expected that this will result in a PR.Type: QuestionA query or seeking clarification. Probably doesn't need the attention of everyone.A query or seeking clarification. Probably doesn't need the attention of everyone.
Metadata
Metadata
Assignees
Labels
Pkg: koa-better-bodyPriority: HighAfter critical issues are fixed, these should be dealt with before any further issues.After critical issues are fixed, these should be dealt with before any further issues.Status: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.It's clear what the subject of the issue is about, and what the resolution should be.Status: AvailableNo one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.No one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.Status: BlockedAnother issue needs to be resolved first or an external blocker.Another issue needs to be resolved first or an external blocker.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.Most issues will probably be for additions or changes. Expected that this will result in a PR.Type: QuestionA query or seeking clarification. Probably doesn't need the attention of everyone.A query or seeking clarification. Probably doesn't need the attention of everyone.
I need to parse many requests with images and forward them to another server. Is there a way to avoid writing each one to a file? I would rather access some sort of Buffer with the file's data in it. Here is an example request:
Here is what I have so far:
I'm receiving the data, but I don't have anywhere to store it. Is there a way to get the data I collected back into the request?