hoppscotch/hoppscotch#4466 we introduced the ability to set binary body for requests. this PR adds support for sending binary body via the extension.
We use ObjectURLs to communicate between extension and the webapp, because otherwise File objects cannot be serialized. previously with multipart/form-data we were converting the binary content into base64 strings, which is inefficient.
note: in a future PR, we should use the same method for multipart/form-data also.
Changes
hoppscotch/hoppscotch#4466 we introduced the ability to set binary body for requests. this PR adds support for sending binary body via the extension.
multipart/form-data
we were converting the binary content into base64 strings, which is inefficient.note: in a future PR, we should use the same method for
multipart/form-data
also.