Skip to content

Support for multipart/form-data Content-Type in HTTP response #1704

Open
@vmaffione

Description

@vmaffione

Hi,
As far as I can see support for multipart/form-data is only available for HTTP requests (both for the client and server side).

Any opinion/plans about adding client and server support also for HTTP responses? This would be handy for all those cases where a HTTP server needs to "atomically" return one or more files (application/octet-stream) along with associated metadata (e.g. JSON, XML), without resorting to encoding the files, e.g. as BASE64 within a JSON field, since this latter solution bloats the response and adds considerable processing and memory overhead...

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions