Skip to content

Conversation

@hitesh-reddy-k
Copy link

@hitesh-reddy-k hitesh-reddy-k commented Dec 7, 2025

hey @animator

i hope your doing well!

I have a fixed issue once check it out

Fix: SSE raw response not showing all entries (#873)

The when we send a request to and it returns SSE and a raw response but in SSE response option it is feching all output for the request but the raw it is only showing the last set of output not complete output. so there is an small bug in code file(the location of code file is ./apidash/packages/better_networking/lib/services/http_service.dart) in this file from line 306 to line 325 the written code When SSE events come in the bytes contains only the latest chunk, not the full response,They convert each chunk to a "full response" using "_createResponseFromBytes(bytes)" because of this the old SSE events disapper and only the last event get displayed

Example:-

This PR fixes issue #873 where the SSE Raw Response view did not show all
incoming entries. The problem occurred because the previous stream handler
ignored intermediate SSE chunks. This update ensures all SSE messages are
collected and rendered properly.
Screenshot 2025-12-07 155431
Screenshot 2025-12-07 155437
Screenshot 2025-12-07 160127

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