fix(upload): use raw file bytes for Hyper uploads#70
fix(upload): use raw file bytes for Hyper uploads#70akhileshthite wants to merge 5 commits intoAgregoreWeb:mainfrom
Conversation
RangerMauve
left a comment
There was a problem hiding this comment.
I'd strongly prefer keeping the formdata method for both protocols. Is there a reason this needs to be changed?
Also we'd need to change the associated tutorial
Yeah, that makes sense. We will have to update the other docs as well. I was getting |
|
Maybe it'd be better to use the Request/FormData API that hypercore-fetch uses instead of busboy? This is how I convert the protocol handler to a Request object: https://github.com/AgregoreWeb/agregore-browser/blob/master/app/protocols/fetch-to-handler.js#L75 Note that the |
p2plabsxyz/peersky-browser#40