Skip to content

fix: handles binary msgpack responses correctly#17

Merged
neilcampbell merged 2 commits intomainfrom
fix/msgpack-responses-fastify
Dec 4, 2025
Merged

fix: handles binary msgpack responses correctly#17
neilcampbell merged 2 commits intomainfrom
fix/msgpack-responses-fastify

Conversation

@aorumbayev
Copy link
Contributor

Ensures correct handling of binary msgpack responses by using arrayBuffer() instead of text() to prevent UTF-8 corruption.
Also adds logging for content type and binary status, and adjusts the response preview logic to only apply to non msgpack data.

Ensures correct handling of binary msgpack responses by using `arrayBuffer()` instead of `text()` to prevent UTF-8 corruption.
Also adds logging for content type and binary status, and adjusts the response preview logic to only apply to non msgpack data.
@aorumbayev aorumbayev requested a review from lempira December 1, 2025 15:52
@neilcampbell neilcampbell merged commit 5fab6e9 into main Dec 4, 2025
1 check passed
@neilcampbell neilcampbell deleted the fix/msgpack-responses-fastify branch December 4, 2025 13:26
@aorumbayev aorumbayev restored the fix/msgpack-responses-fastify branch December 4, 2025 14:11
@aorumbayev aorumbayev deleted the fix/msgpack-responses-fastify branch December 4, 2025 14:12
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