Skip to content

replace got http client with Fetch API#28

Open
keturn wants to merge 9 commits intojmerle:masterfrom
keturn:notgot
Open

replace got http client with Fetch API#28
keturn wants to merge 9 commits intojmerle:masterfrom
keturn:notgot

Conversation

@keturn
Copy link
Copy Markdown

@keturn keturn commented Mar 13, 2026

got probably still works fine, but it is 300 kB.

The errors I was chasing down weren't actually from this source in the end, but having already done the work of switching, it seems worth committing.

got's successor, ky doesn't exactly support streaming downloads, so I went with straight fetch for the big file. That means missing out on some ky features like auto-retries, but I'm okay with that.

Branch based on #24, look there first.

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.

1 participant