Skip to content

fix error on returning empty response#165

Merged
syumai merged 1 commit intomainfrom
fix-empty-response-error
Apr 7, 2025
Merged

fix error on returning empty response#165
syumai merged 1 commit intomainfrom
fix-empty-response-error

Conversation

@syumai
Copy link
Owner

@syumai syumai commented Apr 7, 2025

What

  • Fixed an issue where an error would always occur when the response was empty.
    • The Pull method called when creating a ReadableStream now enqueues an empty Uint8Array always.

Motivation

@syumai syumai self-assigned this Apr 7, 2025
@syumai syumai merged commit 3cfc2b6 into main Apr 7, 2025
2 checks passed
@syumai syumai deleted the fix-empty-response-error branch April 7, 2025 15:46
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.

A HandlerFunc without writing a response body causes weird error

1 participant