Fix: SSE raw response not showing all entries (#873) #932
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.