Skip to content

interceptors/http: set length on response#174

Merged
sarayourfriend merged 4 commits intoh2non:masterfrom
xrmx:fix-http-client-result-length
Mar 6, 2026
Merged

interceptors/http: set length on response#174
sarayourfriend merged 4 commits intoh2non:masterfrom
xrmx:fix-http-client-result-length

Conversation

@xrmx
Copy link
Contributor

@xrmx xrmx commented Mar 4, 2026

Description

In case there is no body handle it as read() is doing, that is returning an empty body with length 0.

PR Checklist

  • I've added tests for any code changes
  • I've documented any new features

In case there is no body handle it as read() is doing, that is returning
an empty body with length 0.
Copy link
Collaborator

@sarayourfriend sarayourfriend left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks for this and #173! I'll get a release up shortly with these changes to unblock your linked PRs.

@sarayourfriend sarayourfriend merged commit 4598663 into h2non:master Mar 6, 2026
9 checks passed
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.

3 participants