Skip to content

feat: streaming uploadData for node and browser envs - #9

Closed
bosi95 wants to merge 2 commits into
masterfrom
feat/uploaddata-streaming
Closed

feat: streaming uploadData for node and browser envs#9
bosi95 wants to merge 2 commits into
masterfrom
feat/uploaddata-streaming

Conversation

@bosi95

@bosi95 bosi95 commented Jul 13, 2026

Copy link
Copy Markdown

No description provided.

Comment thread src/utils/http.ts
{ ...config, data: undefined },
options,
)
requestConfig.data = rawData

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just data: rawData instead of data: undefined? This part is not fully clear why we explicitly assign undefined first

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that also works. deepmerge3 sets data to undefined so it doesn't really matter. the point is to reassign requestConfig.data so that it persists.

@bosi95

bosi95 commented Jul 28, 2026

Copy link
Copy Markdown
Author

Obsolete: PR ethersphere#1239 replaces this one

@bosi95 bosi95 closed this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants