Skip to content

Allow decoding http response as raw Bytes#49

Merged
andrewMacmurray merged 2 commits intomainfrom
expect-raw-bytes
Jan 1, 2026
Merged

Allow decoding http response as raw Bytes#49
andrewMacmurray merged 2 commits intomainfrom
expect-raw-bytes

Conversation

@andrewMacmurray
Copy link
Owner

Closes #38

Previously decoding Bytes required a Bytes decoder, so it was not possible to decode an http response as raw Bytes.

This PR adds Concurrent.Http.expectRawBytes to allow decoding the response as raw Bytes.

This allows decoding the whole response body as raw bytes
@andrewMacmurray andrewMacmurray merged commit f8d9532 into main Jan 1, 2026
4 checks passed
@andrewMacmurray andrewMacmurray deleted the expect-raw-bytes branch January 1, 2026 13:31
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.

Support decoding the whole bytes response without knowing its size

1 participant