Skip to content

Feature: HTTP Streaming#6074

Merged
sid-bruno merged 4 commits intomainfrom
feature/http-stream-internal
Nov 17, 2025
Merged

Feature: HTTP Streaming#6074
sid-bruno merged 4 commits intomainfrom
feature/http-stream-internal

Conversation

@sid-bruno
Copy link
Collaborator

@sid-bruno sid-bruno commented Nov 12, 2025

  • Stream Response handling in network utils
  • Maintain data buffer for features like saving
  • Maintain loading state for things like tests

…sts (#4472)

* #1884 - Add support for text/event-stream content-type

* #1884 - Fix bugs with streaming

Fix bug when streaming response is not ok
Fix bug when clearing response of streaming request
Show text signaling that the response is being streamed in the reponse status
Update response size when new data is streamed in

* #1884 - Fix multiple requests when spamming send button

* #1884 - Add time counter for streamed response and fix final time

* #1884 - Run post script only at end of streamed request

* #1884 - add support for automatic "upgrade" to streaming data

* #1884 - adjustments for stopwatch in stream implementation and remove unused imports

* #1884 - fix imports indentation in useIpcEvents.js

* #1884 - remove stream data ended export function from collections

---------

Co-authored-by: Siddharth Gelera <ahoy@barelyhuman.dev>
@github-actions
Copy link

github-actions bot commented Nov 12, 2025

CLI Test Results

  1 files  ±0  140 suites  ±0   57s ⏱️ +13s
227 tests ±0  227 ✅ ±0  0 💤 ±0  0 ❌ ±0 
291 runs  ±0  290 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 0a18857. ± Comparison against base commit 2be602d.

♻️ This comment has been updated with latest results.

* feat: add stop request button in api url bar

* docs: add farsi translation

* fix: handle escaped forward slashes by fast-json-format library upgrade

* refactor: change ui to use one from Websockets

* chore: cleanup

* fix: lint issues

* Replace IconPlayerStop with IconSquareRoundedX

* update json request and response formatting logic

* chore: format changes

* chore: remove un-needed diffs

* chore: sanitize

* bugfix(#5939): curl import fails for custom content-types

* chore: remove un-needed diffs

* chore: enhance response handling for streaming

* fix: disable requestid check for tests and assertions to be updated after streaming result

* chore: housekeeping

* fix: streamline loading and cancel request icon logic

* chore: formatting

* fix: multiple co-pilot changes

* fix: handle in folders

* feat: add WaitGroup utility for managing concurrent tasks

* refactor: remove WaitGroup utility and clean up network IPC logic

* refactor: remove unused setTimeout import and clean up post script execution

* refactor: clean up post-response script execution logic

* undiff

* re-align

* refactor: streamline post-response script execution

- Cleaned up formatting and improved readability of the post-response script execution logic.
- Consolidated parameters in function calls for consistency.

* fix: keep original dataBuffer for saving response

---------

Co-authored-by: adarshajit <adarshajit@gmail.com>
Co-authored-by: sajadoncode <sajadoncode@gmail.com>
Co-authored-by: lohit-bruno <lohit@usebruno.com>
Co-authored-by: Bijin A B <bijin@usebruno.com>
Co-authored-by: Pragadesh-45 <temporaryg7904@gmail.com>
Co-authored-by: Anoop M D <anoop@usebruno.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
Co-authored-by: Dawid Góra <dawidgora@icloud.com>
@sid-bruno sid-bruno marked this pull request as ready for review November 14, 2025 11:28
@sid-bruno
Copy link
Collaborator Author

Extension of community PR, Don't squash

bijin-bruno
bijin-bruno previously approved these changes Nov 17, 2025
@sid-bruno sid-bruno force-pushed the feature/http-stream-internal branch from ceb281b to 0a18857 Compare November 17, 2025 07:44
@sid-bruno sid-bruno merged commit ddfdeda into main Nov 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants